| #ifndef __LPA_API_H__
|
| #define __LPA_API_H__
|
|
|
| #include <stdio.h>
|
| #include <stdlib.h>
|
| #include <string.h>
|
| #include <libubox/blob.h>
|
| #include <libubox/blobmsg.h>
|
| #include <signal.h> |
| #include <time.h>
|
| #include <libubus.h>
|
| #include <ubusmsg.h>
|
| #include <include/log.h>
|
| #include <cutils/properties.h>
|
|
|
| #include "eSIM.h"
|
|
|
| #ifdef UNUSED
|
| #undef UNUSED
|
| #endif
|
| #define UNUSED(x) (void)(x)
|
|
|
| #define LPA_DEBUG
|
| #ifdef LPA_DEBUG
|
| #define LPA_DBG(format, args...) RDPRINTF("%s: " format,__FUNCTION__, ##args);
|
| #else |
| #define LPA_DBG(...) do {} while (0)
|
| #endif |
| #define LPA_ERR(format, args...) RERRMSG("%s: " format,__FUNCTION__, ##args);
|
|
|
|
|
| int lpa_sdk_sema_trywait(void);
|
| int lpa_sdk_sema_post(void);
|
| int lpa_get_sdk_status(void);
|
| void esim_process_ct_rsp_start(char *smdpUrl, char *matchId, int flag, char *resp, int resp_len);
|
| void esim_process_ct_query_eid(char *resp, int resp_len, int *retVal);
|
| void esim_process_ct_query_iccid(char *iccidStr, char *resp, int resp_len, int *retVal);
|
| void esim_process_ct_act_profile(char *iccidStr, char *resp, int resp_len, int *retVal);
|
| void esim_process_ct_notify_leab(char *iccidStr, char *resp, int resp_len);
|
| void esim_process_ct_query_version(char *resp, int resp_len, int *retVal);
|
| void show_profilesInfo(eSIM_ProfilesIccidList_t *iccidList, char *resp, int resp_len);
|
| void do_show_base_information(unsigned char *iccid, char *resp, int resp_len, int *retVal);
|
|
|
| #endif
|