AT-NFC 2.1 (win) AT-NFC kernel set

t_nfc_ep_clb.h
Go to the documentation of this file.
1 #ifndef T_NFC_EP_CLB_H
2 #define T_NFC_EP_CLB_H
3
4 /* *********************** T-NFC Entry Point HAL callback interface ************************ */
8 /* ***************************************************************************************** */
9
10 #ifdef T_NFC_EP_EXP_MODE
11 #define T_NFC_EP_MODE KER_EXP_API
12 #else
13 #ifdef T_NFC_EP_INT_MODE
14 #define T_NFC_EP_MODE
15 #else
16 #define T_NFC_EP_MODE KER_IMP_API
17 #endif
18 #endif
19
20 /* set struct alignment */
21 #include <emv_platform_set_align.h>
22
23 #ifdef __cplusplus
24 extern "C" {
25 #endif
26
27
28 /* ***************************************************************************************** */
32 typedef KER_VOID* T_NFC_EP_HANDLE;
33 typedef struct tag_T_NFC_CALLBACKS T_NFC_CALLBACKS;
34
35 /* ***************************************************************************************** */
36
37 /* ***************************************************************************************** */
38 /* T-NFC Entry Point library functions: */
39 /* ***************************************************************************************** */
40
41 /* ************************************* t_nfc_epInitEx ************************************ */
58 T_NFC_EP_MODE KER_RES KER_API t_nfc_epInitEx(KER_VOID* pCallbackHandle, T_NFC_CALLBACKS* pCallbacks, KER_VOID* pConfigID, KER_INT16U usConfigIDLen, T_NFC_EP_HANDLE* ppHandle);
60 #define NAME_FUNC_T_NFC_EP_INIT_EX "t_nfc_epInitEx"
62 typedef KER_RES (KER_API *FUNC_T_NFC_EP_INIT_EX)(KER_VOID* pCallbackHandle, T_NFC_CALLBACKS* pCallbacks, KER_VOID* pConfigID, KER_INT16U usConfigIDLen, T_NFC_EP_HANDLE* ppHandle);
63
64
65 #ifdef __cplusplus
66 }
67 #endif
68
69 /* restore struct alignment */
70 #include <emv_platform_restore_align.h>
71
72 #endif /* T_NFC_EP_CLB_H */
emv_platform_restore_align.h
emv_platform_set_align.h
KER_VOID
void KER_VOID
Definition: emv_platform.h:66
KER_RES
KER_INT16U KER_RES
Definition: emv_platform.h:68
KER_INT16U
unsigned short KER_INT16U
Definition: emv_platform.h:61
t_nfc_epInitEx
T_NFC_EP_MODE KER_RES KER_API t_nfc_epInitEx(KER_VOID *pCallbackHandle, T_NFC_CALLBACKS *pCallbacks, KER_VOID *pConfigID, KER_INT16U usConfigIDLen, T_NFC_EP_HANDLE *ppHandle)
Entry Point Initialization.
FUNC_T_NFC_EP_INIT_EX
KER_RES(KER_API * FUNC_T_NFC_EP_INIT_EX)(KER_VOID *pCallbackHandle, T_NFC_CALLBACKS *pCallbacks, KER_VOID *pConfigID, KER_INT16U usConfigIDLen, T_NFC_EP_HANDLE *ppHandle)
Definition: t_nfc_ep_clb.h:62
tag_T_NFC_CALLBACKS
Struct to handle all callbacks.
Definition: t_nfc_ker_clb.h:1308