Imported Upstream version 0.1.0+git20131207+e452e83
[deb_libhybris.git] / hybris / libnfc_nxp / libnfc_nxp.c
CommitLineData
d42e7319
JB
1/*
2 * Copyright (C) 2013 Jolla Ltd.
3 * Contact: Thomas Perl <thomas.perl@jollamobile.com>
4 *
5 * Licensed under the Apache License, Version 2.0 (the "License");
6 * you may not use this file except in compliance with the License.
7 * You may obtain a copy of the License at
8 *
9 * http://www.apache.org/licenses/LICENSE-2.0
10 *
11 * Unless required by applicable law or agreed to in writing, software
12 * distributed under the License is distributed on an "AS IS" BASIS,
13 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 * See the License for the specific language governing permissions and
15 * limitations under the License.
16 *
17 */
18
19/**
20 * Bindings generated using:
21 * https://github.com/thp/libhybris-nfc-wrapper-generator
22 **/
23
24#include <android/android-version.h>
25
26#include <libnfc-nxp/phNfcTypes.h>
27#include <libnfc-nxp/phNfcIoctlCode.h>
28#include <libnfc-nxp/phLibNfc.h>
29#include <libnfc-nxp/phDal4Nfc.h>
30#include <libnfc-nxp/phFriNfc_NdefMap.h>
31#include <libnfc-nxp/phLibNfc_Internal.h>
32
33/**
34 * Fix a compiler warning, as this macro is defined multiple times
35 * to different values - we don't need the value for the wrappers.
36 **/
37#undef NFCSTATUS_COMMAND_NOT_SUPPORTED
38
39/* taken from Linux_x86/phDal4Nfc.c */
40typedef void (*pphDal4Nfc_DeferFuncPointer_t) (void * );
41
42#include <libnfc-nxp/phHciNfc_Generic.h>
43#include <libnfc-nxp/phHal4Nfc.h>
44#include <libnfc-nxp/phHal4Nfc_Internal.h>
45#include <libnfc-nxp/phFriNfc_SmtCrdFmt.h>
46#include <libnfc-nxp/phFriNfc_LlcpUtils.h>
47#include <libnfc-nxp/phFriNfc_LlcpTransport.h>
48#include <libnfc-nxp/phLlcNfc_DataTypes.h>
49#include <libnfc-nxp/phHciNfc_NfcIPMgmt.h>
50#include <libnfc-nxp/phHciNfc_WI.h>
51#include <libnfc-nxp/phHciNfc_Pipe.h>
52
53#include <dlfcn.h>
54#include <stddef.h>
55#include <stdlib.h>
56
57#include <hybris/internal/binding.h>
58
59HYBRIS_LIBRARY_INITIALIZE(libnfc_so, "/system/lib/libnfc.so");
60
61HYBRIS_IMPLEMENT_FUNCTION2(libnfc_so, NFCSTATUS, phLibNfc_Mgt_ConfigureDriver, pphLibNfc_sConfig_t, void **);
62HYBRIS_IMPLEMENT_FUNCTION2(libnfc_so, NFCSTATUS, phDal4Nfc_Config, pphDal4Nfc_sConfig_t, void **);
63HYBRIS_IMPLEMENT_FUNCTION1(libnfc_so, NFCSTATUS, phLibNfc_Mgt_UnConfigureDriver, void *);
64HYBRIS_IMPLEMENT_FUNCTION1(libnfc_so, NFCSTATUS, phDal4Nfc_ConfigRelease, void *);
65HYBRIS_IMPLEMENT_FUNCTION0(libnfc_so, NFCSTATUS, phLibNfc_HW_Reset);
66HYBRIS_IMPLEMENT_FUNCTION1(libnfc_so, NFCSTATUS, phDal4Nfc_Reset, long);
67HYBRIS_IMPLEMENT_FUNCTION0(libnfc_so, NFCSTATUS, phLibNfc_Download_Mode);
68HYBRIS_IMPLEMENT_FUNCTION0(libnfc_so, NFCSTATUS, phDal4Nfc_Download);
69HYBRIS_IMPLEMENT_FUNCTION0(libnfc_so, int, phLibNfc_Load_Firmware_Image);
70/* XXX No prototype for exported symbol: dlopen_firmware */
71HYBRIS_IMPLEMENT_VOID_FUNCTION0(libnfc_so, phLibNfc_Mgt_Recovery);
72HYBRIS_IMPLEMENT_FUNCTION1(libnfc_so, NFCSTATUS, phLibNfc_SetIsoXchgTimeout, uint8_t);
73HYBRIS_IMPLEMENT_FUNCTION0(libnfc_so, int, phLibNfc_GetIsoXchgTimeout);
74HYBRIS_IMPLEMENT_FUNCTION1(libnfc_so, NFCSTATUS, phLibNfc_SetHciTimeout, uint32_t);
75HYBRIS_IMPLEMENT_FUNCTION0(libnfc_so, int, phLibNfc_GetHciTimeout);
76HYBRIS_IMPLEMENT_FUNCTION1(libnfc_so, NFCSTATUS, phLibNfc_SetFelicaTimeout, uint8_t);
77HYBRIS_IMPLEMENT_FUNCTION0(libnfc_so, int, phLibNfc_GetFelicaTimeout);
78HYBRIS_IMPLEMENT_FUNCTION1(libnfc_so, NFCSTATUS, phLibNfc_SetMifareRawTimeout, uint8_t);
79HYBRIS_IMPLEMENT_FUNCTION0(libnfc_so, int, phLibNfc_GetMifareRawTimeout);
80HYBRIS_IMPLEMENT_FUNCTION3(libnfc_so, NFCSTATUS, phLibNfc_Mgt_DeInitialize, void *, pphLibNfc_RspCb_t, void *);
81HYBRIS_IMPLEMENT_FUNCTION3(libnfc_so, NFCSTATUS, phHal4Nfc_Close, phHal_sHwReference_t *, pphHal4Nfc_GenCallback_t, void *);
82HYBRIS_IMPLEMENT_VOID_FUNCTION2(libnfc_so, phHal4Nfc_Hal4Reset, phHal_sHwReference_t *, void *);
83HYBRIS_IMPLEMENT_VOID_FUNCTION1(libnfc_so, phOsalNfc_FreeMemory, void *);
84HYBRIS_IMPLEMENT_VOID_FUNCTION0(libnfc_so, phLibNfc_Ndef_DeInit);
85HYBRIS_IMPLEMENT_VOID_FUNCTION0(libnfc_so, phLibNfc_Pending_Shutdown);
86HYBRIS_IMPLEMENT_FUNCTION1(libnfc_so, NFCSTATUS, phLibNfc_Mgt_Reset, void *);
87HYBRIS_IMPLEMENT_FUNCTION2(libnfc_so, NFCSTATUS, phLibNfc_UpdateNextState, pphLibNfc_LibContext_t, phLibNfc_State_t);
88HYBRIS_IMPLEMENT_FUNCTION3(libnfc_so, NFCSTATUS, phLibNfc_Mgt_Initialize, void *, pphLibNfc_RspCb_t, void *);
89HYBRIS_IMPLEMENT_FUNCTION1(libnfc_so, void *, phOsalNfc_GetMemory, uint32_t);
90HYBRIS_IMPLEMENT_FUNCTION4(libnfc_so, NFCSTATUS, phHal4Nfc_Open, phHal_sHwReference_t *, phHal4Nfc_InitType_t, pphHal4Nfc_GenCallback_t, void *);
91HYBRIS_IMPLEMENT_VOID_FUNCTION0(libnfc_so, phLibNfc_Ndef_Init);
92HYBRIS_IMPLEMENT_VOID_FUNCTION2(libnfc_so, phLibNfc_UpdateCurState, NFCSTATUS, pphLibNfc_LibContext_t);
93HYBRIS_IMPLEMENT_FUNCTION4(libnfc_so, NFCSTATUS, phHal4Nfc_RegisterNotification, phHal_sHwReference_t *, phHal4Nfc_RegisterType_t, pphHal4Nfc_Notification_t, void *);
94HYBRIS_IMPLEMENT_VOID_FUNCTION2(libnfc_so, phOsalNfc_RaiseException, phOsalNfc_ExceptionType_t, uint16_t);
95HYBRIS_IMPLEMENT_FUNCTION2(libnfc_so, NFCSTATUS, phLibNfc_Mgt_GetstackCapabilities, phLibNfc_StackCapabilities_t *, void *);
96HYBRIS_IMPLEMENT_FUNCTION3(libnfc_so, NFCSTATUS, phHal4Nfc_GetDeviceCapabilities, phHal_sHwReference_t *, phHal_sDeviceCapabilities_t *, void *);
97HYBRIS_IMPLEMENT_FUNCTION4(libnfc_so, NFCSTATUS, phLibNfc_Mgt_ConfigureTestMode, void *, pphLibNfc_RspCb_t, phLibNfc_Cfg_Testmode_t, void *);
98HYBRIS_IMPLEMENT_VOID_FUNCTION2(libnfc_so, phLibNfc_config_discovery_cb, void *, NFCSTATUS);
99HYBRIS_IMPLEMENT_FUNCTION4(libnfc_so, NFCSTATUS, phLibNfc_Mgt_ConfigureDiscovery, phLibNfc_eDiscoveryConfigMode_t, phLibNfc_sADD_Cfg_t, pphLibNfc_RspCb_t, void *);
100HYBRIS_IMPLEMENT_FUNCTION5(libnfc_so, NFCSTATUS, phHal4Nfc_ConfigureDiscovery, phHal_sHwReference_t *, phHal_eDiscoveryConfigMode_t, phHal_sADD_Cfg_t *, pphHal4Nfc_GenCallback_t, void *);
101HYBRIS_IMPLEMENT_FUNCTION3(libnfc_so, NFCSTATUS, phLibNfc_RemoteDev_CheckPresence, phLibNfc_Handle, pphLibNfc_RspCb_t, void *);
102HYBRIS_IMPLEMENT_FUNCTION3(libnfc_so, NFCSTATUS, phHal4Nfc_PresenceCheck, phHal_sHwReference_t *, pphHal4Nfc_GenCallback_t, void *);
103HYBRIS_IMPLEMENT_FUNCTION5(libnfc_so, NFCSTATUS, phHal4Nfc_Transceive, phHal_sHwReference_t *, phHal_sTransceiveInfo_t *, phHal_sRemoteDevInformation_t *, pphHal4Nfc_TransceiveCallback_t, void *);
104HYBRIS_IMPLEMENT_FUNCTION4(libnfc_so, NFCSTATUS, phHal4Nfc_Connect, phHal_sHwReference_t *, phHal_sRemoteDevInformation_t *, pphHal4Nfc_ConnectCallback_t, void *);
105HYBRIS_IMPLEMENT_VOID_FUNCTION3(libnfc_so, phLibNfc_Reconnect_Mifare_Cb, void *, phHal_sRemoteDevInformation_t *, NFCSTATUS);
106HYBRIS_IMPLEMENT_FUNCTION3(libnfc_so, NFCSTATUS, phLibNfc_RemoteDev_NtfRegister, phLibNfc_Registry_Info_t *, phLibNfc_NtfRegister_RspCb_t, void *);
107HYBRIS_IMPLEMENT_FUNCTION0(libnfc_so, NFCSTATUS, phLibNfc_RemoteDev_NtfUnregister);
108HYBRIS_IMPLEMENT_FUNCTION3(libnfc_so, NFCSTATUS, phHal4Nfc_UnregisterNotification, phHal_sHwReference_t *, phHal4Nfc_RegisterType_t, void *);
109HYBRIS_IMPLEMENT_FUNCTION3(libnfc_so, NFCSTATUS, phLibNfc_RemoteDev_ReConnect, phLibNfc_Handle, pphLibNfc_ConnectCallback_t, void *);
110HYBRIS_IMPLEMENT_FUNCTION3(libnfc_so, NFCSTATUS, phLibNfc_RemoteDev_Connect, phLibNfc_Handle, pphLibNfc_ConnectCallback_t, void *);
111HYBRIS_IMPLEMENT_FUNCTION4(libnfc_so, NFCSTATUS, phLibNfc_RemoteDev_Disconnect, phLibNfc_Handle, phLibNfc_eReleaseType_t, pphLibNfc_DisconnectCallback_t, void *);
112HYBRIS_IMPLEMENT_FUNCTION5(libnfc_so, NFCSTATUS, phHal4Nfc_Disconnect, phHal_sHwReference_t *, phHal_sRemoteDevInformation_t *, phHal_eReleaseType_t, pphHal4Nfc_DiscntCallback_t, void *);
113HYBRIS_IMPLEMENT_FUNCTION4(libnfc_so, NFCSTATUS, phLibNfc_RemoteDev_Transceive, phLibNfc_Handle, phLibNfc_sTransceiveInfo_t *, pphLibNfc_TransceiveCallback_t, void *);
114HYBRIS_IMPLEMENT_FUNCTION3(libnfc_so, NFCSTATUS, phLibNfc_Mgt_SetP2P_ConfigParams, phLibNfc_sNfcIPCfg_t *, pphLibNfc_RspCb_t, void *);
115HYBRIS_IMPLEMENT_FUNCTION5(libnfc_so, NFCSTATUS, phHal4Nfc_ConfigParameters, phHal_sHwReference_t *, phHal_eConfigType_t, phHal_uConfig_t *, pphHal4Nfc_GenCallback_t, void *);
116HYBRIS_IMPLEMENT_FUNCTION1(libnfc_so, NFCSTATUS, phFriNfc_LlcpTransport_CloseAll, phFriNfc_LlcpTransport_t *);
117HYBRIS_IMPLEMENT_FUNCTION3(libnfc_so, NFCSTATUS, phLibNfc_Mgt_SetLlcp_ConfigParams, phLibNfc_Llcp_sLinkParameters_t *, pphLibNfc_RspCb_t, void *);
118HYBRIS_IMPLEMENT_FUNCTION3(libnfc_so, NFCSTATUS, phFriNfc_Llcp_EncodeLinkParams, phNfc_sData_t *, phFriNfc_Llcp_sLinkParameters_t *, uint8_t);
119HYBRIS_IMPLEMENT_FUNCTION9(libnfc_so, NFCSTATUS, phFriNfc_Llcp_Reset, phFriNfc_Llcp_t *, void *, phFriNfc_Llcp_sLinkParameters_t *, void *, uint16_t, void *, uint16_t, phFriNfc_Llcp_LinkStatus_CB_t, void *);
120HYBRIS_IMPLEMENT_FUNCTION2(libnfc_so, NFCSTATUS, phFriNfc_LlcpTransport_Reset, phFriNfc_LlcpTransport_t *, phFriNfc_Llcp_t *);
121HYBRIS_IMPLEMENT_FUNCTION4(libnfc_so, NFCSTATUS, phLibNfc_Llcp_CheckLlcp, phLibNfc_Handle, pphLibNfc_ChkLlcpRspCb_t, pphLibNfc_LlcpLinkStatusCb_t, void *);
122HYBRIS_IMPLEMENT_FUNCTION4(libnfc_so, NFCSTATUS, phFriNfc_Llcp_ChkLlcp, phFriNfc_Llcp_t *, phHal_sRemoteDevInformation_t *, phFriNfc_Llcp_Check_CB_t, void *);
123HYBRIS_IMPLEMENT_FUNCTION1(libnfc_so, NFCSTATUS, phLibNfc_Llcp_Activate, phLibNfc_Handle);
124HYBRIS_IMPLEMENT_FUNCTION1(libnfc_so, NFCSTATUS, phFriNfc_Llcp_Activate, phFriNfc_Llcp_t *);
125HYBRIS_IMPLEMENT_FUNCTION1(libnfc_so, NFCSTATUS, phLibNfc_Llcp_Deactivate, phLibNfc_Handle);
126HYBRIS_IMPLEMENT_FUNCTION1(libnfc_so, NFCSTATUS, phFriNfc_Llcp_Deactivate, phFriNfc_Llcp_t *);
127HYBRIS_IMPLEMENT_FUNCTION2(libnfc_so, NFCSTATUS, phLibNfc_Llcp_GetLocalInfo, phLibNfc_Handle, phLibNfc_Llcp_sLinkParameters_t *);
128HYBRIS_IMPLEMENT_FUNCTION2(libnfc_so, NFCSTATUS, phFriNfc_Llcp_GetLocalInfo, phFriNfc_Llcp_t *, phFriNfc_Llcp_sLinkParameters_t *);
129HYBRIS_IMPLEMENT_FUNCTION2(libnfc_so, NFCSTATUS, phLibNfc_Llcp_GetRemoteInfo, phLibNfc_Handle, phLibNfc_Llcp_sLinkParameters_t *);
130HYBRIS_IMPLEMENT_FUNCTION2(libnfc_so, NFCSTATUS, phFriNfc_Llcp_GetRemoteInfo, phFriNfc_Llcp_t *, phFriNfc_Llcp_sLinkParameters_t *);
131HYBRIS_IMPLEMENT_FUNCTION6(libnfc_so, NFCSTATUS, phLibNfc_Llcp_DiscoverServices, phLibNfc_Handle, phNfc_sData_t *, uint8_t *, uint8_t, pphLibNfc_RspCb_t, void *);
132HYBRIS_IMPLEMENT_FUNCTION6(libnfc_so, NFCSTATUS, phFriNfc_LlcpTransport_DiscoverServices, phFriNfc_LlcpTransport_t *, phNfc_sData_t *, uint8_t *, uint8_t, pphFriNfc_Cr_t, void *);
133HYBRIS_IMPLEMENT_FUNCTION6(libnfc_so, NFCSTATUS, phLibNfc_Llcp_Socket, phLibNfc_Llcp_eSocketType_t, phLibNfc_Llcp_sSocketOptions_t *, phNfc_sData_t *, phLibNfc_Handle *, pphLibNfc_LlcpSocketErrCb_t, void *);
134HYBRIS_IMPLEMENT_FUNCTION7(libnfc_so, NFCSTATUS, phFriNfc_LlcpTransport_Socket, phFriNfc_LlcpTransport_t *, phFriNfc_LlcpTransport_eSocketType_t, phFriNfc_LlcpTransport_sSocketOptions_t *, phNfc_sData_t *, phFriNfc_LlcpTransport_Socket_t **, pphFriNfc_LlcpTransportSocketErrCb_t, void *);
135HYBRIS_IMPLEMENT_FUNCTION1(libnfc_so, NFCSTATUS, phLibNfc_Llcp_Close, phLibNfc_Handle);
136HYBRIS_IMPLEMENT_FUNCTION1(libnfc_so, NFCSTATUS, phFriNfc_LlcpTransport_Close, phFriNfc_LlcpTransport_Socket_t *);
137HYBRIS_IMPLEMENT_FUNCTION2(libnfc_so, NFCSTATUS, phLibNfc_Llcp_SocketGetLocalOptions, phLibNfc_Handle, phLibNfc_Llcp_sSocketOptions_t *);
138HYBRIS_IMPLEMENT_FUNCTION2(libnfc_so, NFCSTATUS, phFriNfc_LlcpTransport_SocketGetLocalOptions, phFriNfc_LlcpTransport_Socket_t *, phLibNfc_Llcp_sSocketOptions_t *);
139HYBRIS_IMPLEMENT_FUNCTION3(libnfc_so, NFCSTATUS, phLibNfc_Llcp_SocketGetRemoteOptions, phLibNfc_Handle, phLibNfc_Handle, phLibNfc_Llcp_sSocketOptions_t *);
140HYBRIS_IMPLEMENT_FUNCTION2(libnfc_so, NFCSTATUS, phFriNfc_LlcpTransport_SocketGetRemoteOptions, phFriNfc_LlcpTransport_Socket_t *, phLibNfc_Llcp_sSocketOptions_t *);
141HYBRIS_IMPLEMENT_FUNCTION3(libnfc_so, NFCSTATUS, phLibNfc_Llcp_Bind, phLibNfc_Handle, uint8_t, phNfc_sData_t *);
142HYBRIS_IMPLEMENT_FUNCTION3(libnfc_so, NFCSTATUS, phFriNfc_LlcpTransport_Bind, phFriNfc_LlcpTransport_Socket_t *, uint8_t, phNfc_sData_t *);
143HYBRIS_IMPLEMENT_FUNCTION3(libnfc_so, NFCSTATUS, phLibNfc_Llcp_Listen, phLibNfc_Handle, pphLibNfc_LlcpSocketListenCb_t, void *);
144HYBRIS_IMPLEMENT_FUNCTION3(libnfc_so, NFCSTATUS, phFriNfc_LlcpTransport_Listen, phFriNfc_LlcpTransport_Socket_t *, pphFriNfc_LlcpTransportSocketListenCb_t, void *);
145HYBRIS_IMPLEMENT_FUNCTION6(libnfc_so, NFCSTATUS, phLibNfc_Llcp_Accept, phLibNfc_Handle, phLibNfc_Llcp_sSocketOptions_t *, phNfc_sData_t *, pphLibNfc_LlcpSocketErrCb_t, pphLibNfc_LlcpSocketAcceptCb_t, void *);
146HYBRIS_IMPLEMENT_FUNCTION6(libnfc_so, NFCSTATUS, phFriNfc_LlcpTransport_Accept, phFriNfc_LlcpTransport_Socket_t *, phFriNfc_LlcpTransport_sSocketOptions_t *, phNfc_sData_t *, pphFriNfc_LlcpTransportSocketErrCb_t, pphFriNfc_LlcpTransportSocketAcceptCb_t, void *);
147HYBRIS_IMPLEMENT_FUNCTION4(libnfc_so, NFCSTATUS, phLibNfc_Llcp_Reject, phLibNfc_Handle, phLibNfc_Handle, pphLibNfc_LlcpSocketRejectCb_t, void *);
148HYBRIS_IMPLEMENT_FUNCTION3(libnfc_so, NFCSTATUS, phFriNfc_LlcpTransport_Reject, phFriNfc_LlcpTransport_Socket_t *, pphFriNfc_LlcpTransportSocketRejectCb_t, void *);
149HYBRIS_IMPLEMENT_FUNCTION5(libnfc_so, NFCSTATUS, phLibNfc_Llcp_Connect, phLibNfc_Handle, phLibNfc_Handle, uint8_t, pphLibNfc_LlcpSocketConnectCb_t, void *);
150HYBRIS_IMPLEMENT_FUNCTION4(libnfc_so, NFCSTATUS, phFriNfc_LlcpTransport_Connect, phFriNfc_LlcpTransport_Socket_t *, uint8_t, pphFriNfc_LlcpTransportSocketConnectCb_t, void *);
151HYBRIS_IMPLEMENT_FUNCTION5(libnfc_so, NFCSTATUS, phLibNfc_Llcp_ConnectByUri, phLibNfc_Handle, phLibNfc_Handle, phNfc_sData_t *, pphLibNfc_LlcpSocketConnectCb_t, void *);
152HYBRIS_IMPLEMENT_FUNCTION4(libnfc_so, NFCSTATUS, phFriNfc_LlcpTransport_ConnectByUri, phFriNfc_LlcpTransport_Socket_t *, phNfc_sData_t *, pphFriNfc_LlcpTransportSocketConnectCb_t, void *);
153HYBRIS_IMPLEMENT_FUNCTION4(libnfc_so, NFCSTATUS, phLibNfc_Llcp_Disconnect, phLibNfc_Handle, phLibNfc_Handle, pphLibNfc_LlcpSocketDisconnectCb_t, void *);
154HYBRIS_IMPLEMENT_FUNCTION3(libnfc_so, NFCSTATUS, phFriNfc_LlcpTransport_Disconnect, phFriNfc_LlcpTransport_Socket_t *, pphLibNfc_LlcpSocketDisconnectCb_t, void *);
155HYBRIS_IMPLEMENT_FUNCTION5(libnfc_so, NFCSTATUS, phLibNfc_Llcp_Recv, phLibNfc_Handle, phLibNfc_Handle, phNfc_sData_t *, pphLibNfc_LlcpSocketRecvCb_t, void *);
156HYBRIS_IMPLEMENT_FUNCTION4(libnfc_so, NFCSTATUS, phFriNfc_LlcpTransport_Recv, phFriNfc_LlcpTransport_Socket_t *, phNfc_sData_t *, pphFriNfc_LlcpTransportSocketRecvCb_t, void *);
157HYBRIS_IMPLEMENT_FUNCTION5(libnfc_so, NFCSTATUS, phLibNfc_Llcp_RecvFrom, phLibNfc_Handle, phLibNfc_Handle, phNfc_sData_t *, pphLibNfc_LlcpSocketRecvFromCb_t, void *);
158HYBRIS_IMPLEMENT_FUNCTION4(libnfc_so, NFCSTATUS, phFriNfc_LlcpTransport_RecvFrom, phFriNfc_LlcpTransport_Socket_t *, phNfc_sData_t *, pphFriNfc_LlcpTransportSocketRecvFromCb_t, void *);
159HYBRIS_IMPLEMENT_FUNCTION5(libnfc_so, NFCSTATUS, phLibNfc_Llcp_Send, phLibNfc_Handle, phLibNfc_Handle, phNfc_sData_t *, pphLibNfc_LlcpSocketSendCb_t, void *);
160HYBRIS_IMPLEMENT_FUNCTION4(libnfc_so, NFCSTATUS, phFriNfc_LlcpTransport_Send, phFriNfc_LlcpTransport_Socket_t *, phNfc_sData_t *, pphFriNfc_LlcpTransportSocketSendCb_t, void *);
161HYBRIS_IMPLEMENT_FUNCTION6(libnfc_so, NFCSTATUS, phLibNfc_Llcp_SendTo, phLibNfc_Handle, phLibNfc_Handle, uint8_t, phNfc_sData_t *, pphLibNfc_LlcpSocketSendCb_t, void *);
162HYBRIS_IMPLEMENT_FUNCTION5(libnfc_so, NFCSTATUS, phFriNfc_LlcpTransport_SendTo, phFriNfc_LlcpTransport_Socket_t *, uint8_t, phNfc_sData_t *, pphFriNfc_LlcpTransportSocketSendCb_t, void *);
163HYBRIS_IMPLEMENT_FUNCTION6(libnfc_so, NFCSTATUS, phLibNfc_Mgt_IoCtl, void *, uint16_t, phNfc_sData_t *, phNfc_sData_t *, pphLibNfc_IoctlCallback_t, void *);
164HYBRIS_IMPLEMENT_FUNCTION6(libnfc_so, NFCSTATUS, phHal4Nfc_Ioctl, phHal_sHwReference_t *, uint32_t, phNfc_sData_t *, phNfc_sData_t *, pphHal4Nfc_IoctlCallback_t, void *);
165HYBRIS_IMPLEMENT_FUNCTION4(libnfc_so, NFCSTATUS, phHal4Nfc_Switch_Swp_Mode, phHal_sHwReference_t *, phHal_eSWP_Mode_t, pphHal4Nfc_GenCallback_t, void *);
166HYBRIS_IMPLEMENT_FUNCTION3(libnfc_so, NFCSTATUS, phFriNfc_NdefReg_DispatchPacket, phFriNfc_NdefReg_t *, uint8_t *, uint16_t);
167HYBRIS_IMPLEMENT_FUNCTION2(libnfc_so, uint8_t, phFriNfc_NdefReg_Process, phFriNfc_NdefReg_t *, NFCSTATUS *);
168HYBRIS_IMPLEMENT_FUNCTION2(libnfc_so, NFCSTATUS, phFriNfc_NdefReg_RmCb, phFriNfc_NdefReg_t *, phFriNfc_NdefReg_Cb_t *);
169HYBRIS_IMPLEMENT_FUNCTION3(libnfc_so, NFCSTATUS, phFriNfc_NdefMap_GetContainerSize, const phFriNfc_NdefMap_t *, uint32_t *, uint32_t *);
170HYBRIS_IMPLEMENT_VOID_FUNCTION1(libnfc_so, phOsalNfc_Timer_Stop, uint32_t);
171HYBRIS_IMPLEMENT_VOID_FUNCTION1(libnfc_so, phOsalNfc_Timer_Delete, uint32_t);
172HYBRIS_IMPLEMENT_FUNCTION5(libnfc_so, NFCSTATUS, phLibNfc_Ndef_Read, phLibNfc_Handle, phNfc_sData_t *, phLibNfc_Ndef_EOffset_t, pphLibNfc_RspCb_t, void *);
173HYBRIS_IMPLEMENT_FUNCTION4(libnfc_so, NFCSTATUS, phFriNfc_NdefMap_SetCompletionRoutine, phFriNfc_NdefMap_t *, uint8_t, pphFriNfc_Cr_t, void *);
174HYBRIS_IMPLEMENT_FUNCTION4(libnfc_so, NFCSTATUS, phFriNfc_NdefMap_RdNdef, phFriNfc_NdefMap_t *, uint8_t *, uint32_t *, uint8_t);
175HYBRIS_IMPLEMENT_FUNCTION4(libnfc_so, NFCSTATUS, phLibNfc_Ndef_Write, phLibNfc_Handle, phNfc_sData_t *, pphLibNfc_RspCb_t, void *);
176HYBRIS_IMPLEMENT_FUNCTION1(libnfc_so, NFCSTATUS, phFriNfc_NdefMap_EraseNdef, phFriNfc_NdefMap_t *);
177HYBRIS_IMPLEMENT_FUNCTION4(libnfc_so, NFCSTATUS, phFriNfc_NdefMap_WrNdef, phFriNfc_NdefMap_t *, uint8_t *, uint32_t *, uint8_t);
178HYBRIS_IMPLEMENT_FUNCTION3(libnfc_so, NFCSTATUS, phLibNfc_Ndef_CheckNdef, phLibNfc_Handle, pphLibNfc_ChkNdefRspCb_t, void *);
179HYBRIS_IMPLEMENT_FUNCTION9(libnfc_so, NFCSTATUS, phFriNfc_NdefMap_Reset, phFriNfc_NdefMap_t *, void *, phHal_sRemoteDevInformation_t *, phHal_sDevInputParam_t *, uint8_t *, uint16_t, uint8_t *, uint16_t *, uint16_t *);
180HYBRIS_IMPLEMENT_FUNCTION1(libnfc_so, NFCSTATUS, phFriNfc_NdefMap_ChkNdef, phFriNfc_NdefMap_t *);
181HYBRIS_IMPLEMENT_VOID_FUNCTION4(libnfc_so, phOsalNfc_Timer_Start, uint32_t, uint32_t, ppCallBck_t, void *);
182HYBRIS_IMPLEMENT_FUNCTION0(libnfc_so, uint32_t, phOsalNfc_Timer_Create);
183HYBRIS_IMPLEMENT_FUNCTION4(libnfc_so, NFCSTATUS, phLibNfc_RemoteDev_FormatNdef, phLibNfc_Handle, phNfc_sData_t *, pphLibNfc_RspCb_t, void *);
184HYBRIS_IMPLEMENT_FUNCTION6(libnfc_so, NFCSTATUS, phFriNfc_NdefSmtCrd_Reset, phFriNfc_sNdefSmtCrdFmt_t *, void *, phHal_sRemoteDevInformation_t *, phHal_sDevInputParam_t *, uint8_t *, uint16_t *);
185HYBRIS_IMPLEMENT_FUNCTION4(libnfc_so, NFCSTATUS, phFriNfc_NdefSmtCrd_SetCR, phFriNfc_sNdefSmtCrdFmt_t *, uint8_t, pphFriNfc_Cr_t, void *);
186HYBRIS_IMPLEMENT_FUNCTION2(libnfc_so, NFCSTATUS, phFriNfc_NdefSmtCrd_Format, phFriNfc_sNdefSmtCrdFmt_t *, const uint8_t *);
187HYBRIS_IMPLEMENT_FUNCTION4(libnfc_so, NFCSTATUS, phLibNfc_ConvertToReadOnlyNdef, phLibNfc_Handle, phNfc_sData_t *, pphLibNfc_RspCb_t, void *);
188HYBRIS_IMPLEMENT_FUNCTION1(libnfc_so, NFCSTATUS, phFriNfc_NdefMap_ConvertToReadOnly, phFriNfc_NdefMap_t *);
189HYBRIS_IMPLEMENT_FUNCTION1(libnfc_so, NFCSTATUS, phFriNfc_NdefSmtCrd_ConvertToReadOnly, phFriNfc_sNdefSmtCrdFmt_t *);
190HYBRIS_IMPLEMENT_FUNCTION2(libnfc_so, NFCSTATUS, phFriNfc_MifareStdMap_ConvertToReadOnly, phFriNfc_NdefMap_t *, const uint8_t *);
191HYBRIS_IMPLEMENT_FUNCTION5(libnfc_so, NFCSTATUS, phLibNfc_Ndef_SearchNdefContent, phLibNfc_Handle, phLibNfc_Ndef_SrchType_t *, uint8_t, pphLibNfc_Ndef_Search_RspCb_t, void *);
192HYBRIS_IMPLEMENT_FUNCTION6(libnfc_so, NFCSTATUS, phFriNfc_NdefReg_Reset, phFriNfc_NdefReg_t *, uint8_t **, phFriNfc_NdefRecord_t *, phFriNfc_NdefReg_CbParam_t *, uint8_t *, uint32_t);
193HYBRIS_IMPLEMENT_FUNCTION2(libnfc_so, NFCSTATUS, phFriNfc_NdefReg_AddCb, phFriNfc_NdefReg_t *, phFriNfc_NdefReg_Cb_t *);
194HYBRIS_IMPLEMENT_FUNCTION2(libnfc_so, NFCSTATUS, phLibNfc_SE_NtfRegister, pphLibNfc_SE_NotificationCb_t, void *);
195HYBRIS_IMPLEMENT_FUNCTION0(libnfc_so, NFCSTATUS, phLibNfc_SE_NtfUnregister);
196HYBRIS_IMPLEMENT_FUNCTION2(libnfc_so, NFCSTATUS, phLibNfc_SE_GetSecureElementList, phLibNfc_SE_List_t *, uint8_t *);
197HYBRIS_IMPLEMENT_FUNCTION4(libnfc_so, NFCSTATUS, phLibNfc_SE_SetMode, phLibNfc_Handle, phLibNfc_eSE_ActivationMode, pphLibNfc_SE_SetModeRspCb_t, void *);
198HYBRIS_IMPLEMENT_FUNCTION4(libnfc_so, NFCSTATUS, phHal4Nfc_Switch_SMX_Mode, phHal_sHwReference_t *, phHal_eSmartMX_Mode_t, pphHal4Nfc_GenCallback_t, void *);
199HYBRIS_IMPLEMENT_FUNCTION3(libnfc_so, NFCSTATUS, phLibNfc_RemoteDev_Receive, phLibNfc_Handle, pphLibNfc_Receive_RspCb_t, void *);
200HYBRIS_IMPLEMENT_FUNCTION4(libnfc_so, NFCSTATUS, phHal4Nfc_Receive, phHal_sHwReference_t *, phHal4Nfc_TransactInfo_t *, pphHal4Nfc_ReceiveCallback_t, void *);
201HYBRIS_IMPLEMENT_FUNCTION4(libnfc_so, NFCSTATUS, phLibNfc_RemoteDev_Send, phLibNfc_Handle, phNfc_sData_t *, pphLibNfc_RspCb_t, void *);
202HYBRIS_IMPLEMENT_FUNCTION5(libnfc_so, NFCSTATUS, phHal4Nfc_Send, phHal_sHwReference_t *, phHal4Nfc_TransactInfo_t *, phNfc_sData_t, pphHal4Nfc_SendCallback_t, void *);
203HYBRIS_IMPLEMENT_FUNCTION4(libnfc_so, NFCSTATUS, phHciNfc_Configure, void *, void *, phHal_eConfigType_t, phHal_uConfig_t *);
204HYBRIS_IMPLEMENT_FUNCTION3(libnfc_so, NFCSTATUS, phHciNfc_Config_Discovery, void *, void *, phHal_sADD_Cfg_t *);
205HYBRIS_IMPLEMENT_FUNCTION3(libnfc_so, NFCSTATUS, phHciNfc_Restart_Discovery, void *, void *, uint8_t);
206HYBRIS_IMPLEMENT_VOID_FUNCTION3(libnfc_so, phHal4Nfc_ConfigureComplete, phHal4Nfc_Hal4Ctxt_t *, void *, uint8_t);
207HYBRIS_IMPLEMENT_VOID_FUNCTION2(libnfc_so, phHal4Nfc_DisconnectComplete, phHal4Nfc_Hal4Ctxt_t *, void *);
208HYBRIS_IMPLEMENT_VOID_FUNCTION2(libnfc_so, phHal4Nfc_TargetDiscoveryComplete, phHal4Nfc_Hal4Ctxt_t *, void *);
209HYBRIS_IMPLEMENT_FUNCTION2(libnfc_so, NFCSTATUS, phHciNfc_Select_Next_Target, void *, void *);
210HYBRIS_IMPLEMENT_VOID_FUNCTION2(libnfc_so, phHal4Nfc_HandleEmulationEvent, phHal4Nfc_Hal4Ctxt_t *, void *);
211HYBRIS_IMPLEMENT_VOID_FUNCTION2(libnfc_so, phHal4Nfc_TransceiveComplete, phHal4Nfc_Hal4Ctxt_t *, void *);
212HYBRIS_IMPLEMENT_VOID_FUNCTION2(libnfc_so, phHal4Nfc_SendCompleteHandler, phHal4Nfc_Hal4Ctxt_t *, void *);
213HYBRIS_IMPLEMENT_VOID_FUNCTION2(libnfc_so, phHal4Nfc_ReactivationComplete, phHal4Nfc_Hal4Ctxt_t *, void *);
214HYBRIS_IMPLEMENT_VOID_FUNCTION2(libnfc_so, phHal4Nfc_PresenceChkComplete, phHal4Nfc_Hal4Ctxt_t *, void *);
215HYBRIS_IMPLEMENT_VOID_FUNCTION2(libnfc_so, phHal4Nfc_ConnectComplete, phHal4Nfc_Hal4Ctxt_t *, void *);
216HYBRIS_IMPLEMENT_VOID_FUNCTION2(libnfc_so, phHal4Nfc_RecvCompleteHandler, phHal4Nfc_Hal4Ctxt_t *, void *);
217HYBRIS_IMPLEMENT_FUNCTION4(libnfc_so, NFCSTATUS, phHciNfc_Release, void *, void *, pphNfcIF_Notification_CB_t, void *);
218HYBRIS_IMPLEMENT_VOID_FUNCTION2(libnfc_so, phHal4Nfc_HandleP2PDeActivate, phHal4Nfc_Hal4Ctxt_t *, void *);
219HYBRIS_IMPLEMENT_VOID_FUNCTION2(libnfc_so, phHal4Nfc_P2PActivateComplete, phHal4Nfc_Hal4Ctxt_t *, void *);
220HYBRIS_IMPLEMENT_FUNCTION7(libnfc_so, NFCSTATUS, phHciNfc_Initialise, void *, void *, phHciNfc_Init_t, phHal_sHwConfig_t *, pphNfcIF_Notification_CB_t, void *, phNfcLayer_sCfg_t *);
221HYBRIS_IMPLEMENT_FUNCTION3(libnfc_so, NFCSTATUS, phDal4Nfc_Register, phNfcIF_sReference_t *, phNfcIF_sCallBack_t, void *);
222HYBRIS_IMPLEMENT_FUNCTION3(libnfc_so, NFCSTATUS, phLlcNfc_Register, phNfcIF_sReference_t *, phNfcIF_sCallBack_t, void *);
223HYBRIS_IMPLEMENT_FUNCTION4(libnfc_so, NFCSTATUS, phHciNfc_System_Get_Info, void *, void *, uint32_t, uint8_t *);
224HYBRIS_IMPLEMENT_FUNCTION4(libnfc_so, NFCSTATUS, phHciNfc_System_Test, void *, void *, uint32_t, phNfc_sData_t *);
225HYBRIS_IMPLEMENT_FUNCTION4(libnfc_so, NFCSTATUS, phHciNfc_System_Configure, void *, void *, uint32_t, uint8_t);
226HYBRIS_IMPLEMENT_FUNCTION4(libnfc_so, NFCSTATUS, phHciNfc_PRBS_Test, void *, void *, uint32_t, phNfc_sData_t *);
227HYBRIS_IMPLEMENT_FUNCTION3(libnfc_so, NFCSTATUS, phDnldNfc_Upgrade, phHal_sHwReference_t *, pphNfcIF_Notification_CB_t, void *);
228HYBRIS_IMPLEMENT_FUNCTION1(libnfc_so, NFCSTATUS, phDnldNfc_Run_Check, phHal_sHwReference_t *);
229HYBRIS_IMPLEMENT_FUNCTION4(libnfc_so, NFCSTATUS, phHciNfc_Switch_SmxMode, void *, void *, phHal_eSmartMX_Mode_t, phHal_sADD_Cfg_t *);
230HYBRIS_IMPLEMENT_FUNCTION3(libnfc_so, NFCSTATUS, phHciNfc_Switch_SwpMode, void *, void *, phHal_eSWP_Mode_t);
231HYBRIS_IMPLEMENT_FUNCTION4(libnfc_so, NFCSTATUS, phHciNfc_Send_Data, void *, void *, phHal_sRemoteDevInformation_t *, phHciNfc_XchgInfo_t *);
232HYBRIS_IMPLEMENT_FUNCTION1(libnfc_so, NFCSTATUS, phHal4Nfc_Disconnect_Execute, phHal_sHwReference_t *);
233HYBRIS_IMPLEMENT_VOID_FUNCTION2(libnfc_so, phHal4Nfc_Felica_RePoll, void *, NFCSTATUS);
234HYBRIS_IMPLEMENT_FUNCTION3(libnfc_so, NFCSTATUS, phHciNfc_Reactivate, void *, void *, phHal_sRemoteDevInformation_t *);
235HYBRIS_IMPLEMENT_FUNCTION3(libnfc_so, int, phOsalNfc_MemCompare, void *, void *, unsigned int);
236HYBRIS_IMPLEMENT_FUNCTION3(libnfc_so, NFCSTATUS, phHciNfc_Connect, void *, void *, phHal_sRemoteDevInformation_t *);
237HYBRIS_IMPLEMENT_FUNCTION4(libnfc_so, NFCSTATUS, phHciNfc_Exchange_Data, void *, void *, phHal_sRemoteDevInformation_t *, phHciNfc_XchgInfo_t *);
238HYBRIS_IMPLEMENT_FUNCTION3(libnfc_so, NFCSTATUS, phHciNfc_Disconnect, void *, void *, uint8_t);
239HYBRIS_IMPLEMENT_FUNCTION2(libnfc_so, NFCSTATUS, phHciNfc_Presence_Check, void *, void *);
240HYBRIS_IMPLEMENT_FUNCTION2(libnfc_so, NFCSTATUS, phDal4Nfc_Unregister, void *, void *);
241HYBRIS_IMPLEMENT_VOID_FUNCTION5(libnfc_so, phHciNfc_Build_HCPFrame, phHciNfc_HCP_Packet_t *, uint8_t, uint8_t, uint8_t, uint8_t);
242HYBRIS_IMPLEMENT_FUNCTION2(libnfc_so, NFCSTATUS, phHciNfc_Send_HCP, phHciNfc_sContext_t *, void *);
243HYBRIS_IMPLEMENT_FUNCTION4(libnfc_so, NFCSTATUS, phHciNfc_Update_PipeInfo, phHciNfc_sContext_t *, phHciNfc_PipeMgmt_Seq_t *, uint8_t, phHciNfc_Pipe_Info_t *);
244HYBRIS_IMPLEMENT_FUNCTION3(libnfc_so, NFCSTATUS, phHciNfc_Admin_Release, phHciNfc_sContext_t *, void *, phHciNfc_HostID_t);
245HYBRIS_IMPLEMENT_FUNCTION3(libnfc_so, NFCSTATUS, phHciNfc_Close_Pipe, phHciNfc_sContext_t *, void *, phHciNfc_Pipe_Info_t *);
246HYBRIS_IMPLEMENT_FUNCTION5(libnfc_so, NFCSTATUS, phHciNfc_Send_Admin_Event, phHciNfc_sContext_t *, void *, uint8_t, uint8_t, void *);
247HYBRIS_IMPLEMENT_FUNCTION5(libnfc_so, NFCSTATUS, phHciNfc_Send_Admin_Cmd, phHciNfc_sContext_t *, void *, uint8_t, uint8_t, void *);
248HYBRIS_IMPLEMENT_FUNCTION2(libnfc_so, NFCSTATUS, phHciNfc_Admin_Initialise, phHciNfc_sContext_t *, void *);
249HYBRIS_IMPLEMENT_FUNCTION2(libnfc_so, NFCSTATUS, phHciNfc_Allocate_Resource, void **, uint16_t);
250HYBRIS_IMPLEMENT_FUNCTION3(libnfc_so, NFCSTATUS, phHciNfc_Create_All_Pipes, phHciNfc_sContext_t *, void *, phHciNfc_PipeMgmt_Seq_t *);
251HYBRIS_IMPLEMENT_FUNCTION3(libnfc_so, NFCSTATUS, phHciNfc_Open_Pipe, phHciNfc_sContext_t *, void *, phHciNfc_Pipe_Info_t *);
252HYBRIS_IMPLEMENT_FUNCTION4(libnfc_so, NFCSTATUS, phHciNfc_Send_Generic_Cmd, phHciNfc_sContext_t *, void *, uint8_t, uint8_t);
253HYBRIS_IMPLEMENT_FUNCTION6(libnfc_so, NFCSTATUS, phHciNfc_Set_Param, phHciNfc_sContext_t *, void *, phHciNfc_Pipe_Info_t *, uint8_t, void *, uint16_t);
254HYBRIS_IMPLEMENT_FUNCTION3(libnfc_so, NFCSTATUS, phHciNfc_Update_Pipe, phHciNfc_sContext_t *, void *, phHciNfc_PipeMgmt_Seq_t *);
255HYBRIS_IMPLEMENT_FUNCTION2(libnfc_so, NFCSTATUS, phHciNfc_FSM_Update, phHciNfc_sContext_t *, phHciNfc_eState_t);
256HYBRIS_IMPLEMENT_VOID_FUNCTION1(libnfc_so, phHciNfc_FSM_Rollback, phHciNfc_sContext_t *);
257HYBRIS_IMPLEMENT_VOID_FUNCTION3(libnfc_so, phHciNfc_Send_Complete, void *, void *, phNfc_sTransactionInfo_t *);
258HYBRIS_IMPLEMENT_VOID_FUNCTION3(libnfc_so, phHciNfc_Receive_Complete, void *, void *, phNfc_sTransactionInfo_t *);
259HYBRIS_IMPLEMENT_VOID_FUNCTION4(libnfc_so, phHciNfc_Notify_Event, void *, void *, uint8_t, void *);
260HYBRIS_IMPLEMENT_FUNCTION2(libnfc_so, NFCSTATUS, phHciNfc_Release_Sequence, phHciNfc_sContext_t *, void *);
261HYBRIS_IMPLEMENT_VOID_FUNCTION2(libnfc_so, phHciNfc_Release_Lower, phHciNfc_sContext_t *, void *);
262HYBRIS_IMPLEMENT_VOID_FUNCTION1(libnfc_so, phHciNfc_Release_Resources, phHciNfc_sContext_t **);
263HYBRIS_IMPLEMENT_FUNCTION4(libnfc_so, NFCSTATUS, phHciNfc_NfcIP_SetATRInfo, phHciNfc_sContext_t *, void *, phHciNfc_eNfcIPType_t, phHal_sNfcIPCfg_t *);
264HYBRIS_IMPLEMENT_FUNCTION3(libnfc_so, NFCSTATUS, phHciNfc_SWP_Protection, void *, void *, uint8_t);
265HYBRIS_IMPLEMENT_FUNCTION2(libnfc_so, NFCSTATUS, phHciNfc_SWP_Update_Sequence, phHciNfc_sContext_t *, phHciNfc_eSeqType_t);
266HYBRIS_IMPLEMENT_FUNCTION2(libnfc_so, NFCSTATUS, phHciNfc_EmulationCfg_Sequence, phHciNfc_sContext_t *, void *);
267HYBRIS_IMPLEMENT_FUNCTION3(libnfc_so, NFCSTATUS, phHciNfc_Emulation_Cfg, phHciNfc_sContext_t *, void *, phHciNfc_eConfigType_t);
268HYBRIS_IMPLEMENT_FUNCTION2(libnfc_so, NFCSTATUS, phHciNfc_PollLoop_Sequence, phHciNfc_sContext_t *, void *);
269HYBRIS_IMPLEMENT_FUNCTION4(libnfc_so, NFCSTATUS, phHciNfc_ReaderMgmt_Deselect, phHciNfc_sContext_t *, void *, phHal_eRemDevType_t, uint8_t);
270HYBRIS_IMPLEMENT_FUNCTION3(libnfc_so, NFCSTATUS, phHciNfc_SWP_Configure_Mode, void *, void *, uint8_t);
271HYBRIS_IMPLEMENT_FUNCTION2(libnfc_so, NFCSTATUS, phHciNfc_SmartMx_Mode_Sequence, phHciNfc_sContext_t *, void *);
272HYBRIS_IMPLEMENT_FUNCTION2(libnfc_so, NFCSTATUS, phHciNfc_ReaderMgmt_Activate_Next, phHciNfc_sContext_t *, void *);
273HYBRIS_IMPLEMENT_FUNCTION3(libnfc_so, NFCSTATUS, phHciNfc_ReaderMgmt_Select, phHciNfc_sContext_t *, void *, phHal_eRemDevType_t);
274HYBRIS_IMPLEMENT_FUNCTION3(libnfc_so, NFCSTATUS, phHciNfc_ReaderMgmt_Reactivate, phHciNfc_sContext_t *, void *, phHal_eRemDevType_t);
275HYBRIS_IMPLEMENT_FUNCTION2(libnfc_so, NFCSTATUS, phHciNfc_Disconnect_Sequence, phHciNfc_sContext_t *, void *);
276HYBRIS_IMPLEMENT_FUNCTION3(libnfc_so, NFCSTATUS, phHciNfc_ReaderMgmt_Exchange_Data, phHciNfc_sContext_t *, void *, phHciNfc_XchgInfo_t *);
277HYBRIS_IMPLEMENT_FUNCTION3(libnfc_so, NFCSTATUS, phHciNfc_NfcIP_Send_Data, phHciNfc_sContext_t *, void *, phHciNfc_XchgInfo_t *);
278HYBRIS_IMPLEMENT_FUNCTION2(libnfc_so, NFCSTATUS, phHciNfc_ReaderMgmt_Presence_Check, phHciNfc_sContext_t *, void *);
279HYBRIS_IMPLEMENT_FUNCTION4(libnfc_so, NFCSTATUS, phHciNfc_DevMgmt_Test, void *, void *, uint8_t, phNfc_sData_t *);
280HYBRIS_IMPLEMENT_FUNCTION4(libnfc_so, NFCSTATUS, phHciNfc_DevMgmt_Get_Info, phHciNfc_sContext_t *, void *, uint16_t, uint8_t *);
281HYBRIS_IMPLEMENT_FUNCTION4(libnfc_so, NFCSTATUS, phHciNfc_DevMgmt_Configure, phHciNfc_sContext_t *, void *, uint16_t, uint8_t);
282HYBRIS_IMPLEMENT_FUNCTION2(libnfc_so, NFCSTATUS, phHciNfc_Get_Link_Status, void *, void *);
283HYBRIS_IMPLEMENT_FUNCTION2(libnfc_so, NFCSTATUS, phHciNfc_LinkMgmt_Open, phHciNfc_sContext_t *, void *);
284HYBRIS_IMPLEMENT_VOID_FUNCTION4(libnfc_so, phHciNfc_Append_HCPFrame, uint8_t *, uint16_t, uint8_t *, uint16_t);
285HYBRIS_IMPLEMENT_FUNCTION1(libnfc_so, NFCSTATUS, phHciNfc_DevMgmt_Init_Resources, phHciNfc_sContext_t *);
286HYBRIS_IMPLEMENT_FUNCTION2(libnfc_so, NFCSTATUS, phHciNfc_DevMgmt_Get_PipeID, phHciNfc_sContext_t *, uint8_t *);
287HYBRIS_IMPLEMENT_FUNCTION2(libnfc_so, NFCSTATUS, phHciNfc_DevMgmt_Get_Test_Result, phHciNfc_sContext_t *, phNfc_sData_t *);
288HYBRIS_IMPLEMENT_FUNCTION2(libnfc_so, NFCSTATUS, phHciNfc_DevMgmt_Set_Test_Result, phHciNfc_sContext_t *, uint8_t);
289HYBRIS_IMPLEMENT_FUNCTION3(libnfc_so, NFCSTATUS, phHciNfc_DevMgmt_Update_PipeInfo, phHciNfc_sContext_t *, uint8_t, phHciNfc_Pipe_Info_t *);
290HYBRIS_IMPLEMENT_FUNCTION2(libnfc_so, NFCSTATUS, phHciNfc_DevMgmt_Initialise, phHciNfc_sContext_t *, void *);
291HYBRIS_IMPLEMENT_FUNCTION2(libnfc_so, NFCSTATUS, phHciNfc_DevMgmt_Release, phHciNfc_sContext_t *, void *);
292HYBRIS_IMPLEMENT_FUNCTION2(libnfc_so, NFCSTATUS, phHciNfc_DevMgmt_Update_Sequence, phHciNfc_sContext_t *, phHciNfc_eSeqType_t);
293HYBRIS_IMPLEMENT_VOID_FUNCTION2(libnfc_so, phHciNfc_Uicc_Connectivity, phHciNfc_sContext_t *, void *);
294HYBRIS_IMPLEMENT_FUNCTION2(libnfc_so, NFCSTATUS, phHciNfc_Uicc_Get_PipeID, phHciNfc_sContext_t *, uint8_t *);
295HYBRIS_IMPLEMENT_FUNCTION3(libnfc_so, NFCSTATUS, phHciNfc_Uicc_Update_PipeInfo, phHciNfc_sContext_t *, uint8_t, phHciNfc_Pipe_Info_t *);
296HYBRIS_IMPLEMENT_FUNCTION2(libnfc_so, NFCSTATUS, phHciNfc_EmuMgmt_Update_Seq, phHciNfc_sContext_t *, phHciNfc_eSeqType_t);
297HYBRIS_IMPLEMENT_FUNCTION2(libnfc_so, NFCSTATUS, phHciNfc_Uicc_Connect_Status, phHciNfc_sContext_t *, void *);
298HYBRIS_IMPLEMENT_FUNCTION2(libnfc_so, NFCSTATUS, phHciNfc_SWP_Get_Status, void *, void *);
299HYBRIS_IMPLEMENT_FUNCTION2(libnfc_so, NFCSTATUS, phHciNfc_EmuMgmt_Initialise, phHciNfc_sContext_t *, void *);
300HYBRIS_IMPLEMENT_FUNCTION3(libnfc_so, NFCSTATUS, phHciNfc_WI_Configure_Mode, void *, void *, phHal_eSmartMX_Mode_t);
301HYBRIS_IMPLEMENT_FUNCTION4(libnfc_so, NFCSTATUS, phHciNfc_NfcIP_SetMode, phHciNfc_sContext_t *, void *, phHciNfc_eNfcIPType_t, uint8_t);
302HYBRIS_IMPLEMENT_FUNCTION2(libnfc_so, NFCSTATUS, phHciNfc_SWP_Get_Bitrate, void *, void *);
303HYBRIS_IMPLEMENT_FUNCTION3(libnfc_so, NFCSTATUS, phHciNfc_NfcIP_SetMergeSak, phHciNfc_sContext_t *, void *, uint8_t);
304HYBRIS_IMPLEMENT_FUNCTION3(libnfc_so, NFCSTATUS, phHciNfc_SWP_Configure_Default, void *, void *, uint8_t);
305HYBRIS_IMPLEMENT_FUNCTION3(libnfc_so, NFCSTATUS, phHciNfc_WI_Configure_Default, void *, void *, uint8_t);
306HYBRIS_IMPLEMENT_FUNCTION3(libnfc_so, NFCSTATUS, phHciNfc_WI_Configure_Notifications, void *, void *, phHciNfc_WI_Events_t);
307HYBRIS_IMPLEMENT_FUNCTION2(libnfc_so, NFCSTATUS, phHciNfc_EmuMgmt_Release, phHciNfc_sContext_t *, void *);
308HYBRIS_IMPLEMENT_FUNCTION3(libnfc_so, NFCSTATUS, phHciNfc_SWP_Config_Sequence, phHciNfc_sContext_t *, void *, phHal_sEmulationCfg_t *);
309HYBRIS_IMPLEMENT_FUNCTION2(libnfc_so, NFCSTATUS, phHciNfc_ReaderMgmt_Update_Sequence, phHciNfc_sContext_t *, phHciNfc_eSeqType_t);
310HYBRIS_IMPLEMENT_FUNCTION2(libnfc_so, NFCSTATUS, phHciNfc_Felica_Get_PipeID, phHciNfc_sContext_t *, uint8_t *);
311HYBRIS_IMPLEMENT_FUNCTION1(libnfc_so, NFCSTATUS, phHciNfc_Felica_Init_Resources, phHciNfc_sContext_t *);
312HYBRIS_IMPLEMENT_FUNCTION3(libnfc_so, NFCSTATUS, phHciNfc_Felica_Update_PipeInfo, phHciNfc_sContext_t *, uint8_t, phHciNfc_Pipe_Info_t *);
313HYBRIS_IMPLEMENT_FUNCTION3(libnfc_so, NFCSTATUS, phHciNfc_Felica_Update_Info, phHciNfc_sContext_t *, uint8_t, void *);
314HYBRIS_IMPLEMENT_FUNCTION2(libnfc_so, NFCSTATUS, phHciNfc_Felica_Info_Sequence, void *, void *);
315HYBRIS_IMPLEMENT_VOID_FUNCTION4(libnfc_so, phHciNfc_Tag_Notify, phHciNfc_sContext_t *, void *, uint8_t, void *);
316HYBRIS_IMPLEMENT_FUNCTION4(libnfc_so, NFCSTATUS, phHciNfc_Send_Felica_Command, phHciNfc_sContext_t *, void *, uint8_t, uint8_t);
317HYBRIS_IMPLEMENT_FUNCTION2(libnfc_so, NFCSTATUS, phHciNfc_Felica_Request_Mode, phHciNfc_sContext_t *, void *);
318HYBRIS_IMPLEMENT_FUNCTION4(libnfc_so, NFCSTATUS, phHciNfc_Receive, void *, void *, uint8_t *, uint16_t);
319HYBRIS_IMPLEMENT_FUNCTION2(libnfc_so, NFCSTATUS, phHciNfc_Resume_Sequence, phHciNfc_sContext_t *, void *);
320HYBRIS_IMPLEMENT_VOID_FUNCTION5(libnfc_so, phHciNfc_Error_Sequence, void *, void *, NFCSTATUS, void *, uint8_t);
321HYBRIS_IMPLEMENT_VOID_FUNCTION5(libnfc_so, phHciNfc_Notify, pphNfcIF_Notification_CB_t, void *, void *, uint8_t, void *);
322HYBRIS_IMPLEMENT_FUNCTION1(libnfc_so, NFCSTATUS, phHciNfc_FSM_Complete, phHciNfc_sContext_t *);
323HYBRIS_IMPLEMENT_VOID_FUNCTION4(libnfc_so, phHciNfc_Target_Select_Notify, phHciNfc_sContext_t *, void *, uint8_t, void *);
324HYBRIS_IMPLEMENT_VOID_FUNCTION4(libnfc_so, phHciNfc_Release_Notify, phHciNfc_sContext_t *, void *, uint8_t, void *);
325HYBRIS_IMPLEMENT_FUNCTION1(libnfc_so, NFCSTATUS, phHciNfc_IDMgmt_Init_Resources, phHciNfc_sContext_t *);
326HYBRIS_IMPLEMENT_FUNCTION2(libnfc_so, NFCSTATUS, phHciNfc_IDMgmt_Get_PipeID, phHciNfc_sContext_t *, uint8_t *);
327HYBRIS_IMPLEMENT_FUNCTION2(libnfc_so, NFCSTATUS, phHciNfc_IDMgmt_Update_Sequence, phHciNfc_sContext_t *, phHciNfc_eSeqType_t);
328HYBRIS_IMPLEMENT_FUNCTION2(libnfc_so, NFCSTATUS, phHciNfc_IDMgmt_Initialise, phHciNfc_sContext_t *, void *);
329HYBRIS_IMPLEMENT_FUNCTION2(libnfc_so, NFCSTATUS, phHciNfc_IDMgmt_Info_Sequence, phHciNfc_sContext_t *, void *);
330HYBRIS_IMPLEMENT_FUNCTION2(libnfc_so, NFCSTATUS, phHciNfc_IDMgmt_Release, phHciNfc_sContext_t *, void *);
331HYBRIS_IMPLEMENT_FUNCTION3(libnfc_so, NFCSTATUS, phHciNfc_IDMgmt_Update_PipeInfo, phHciNfc_sContext_t *, uint8_t, phHciNfc_Pipe_Info_t *);
332HYBRIS_IMPLEMENT_FUNCTION1(libnfc_so, NFCSTATUS, phHciNfc_ISO15693_Init_Resources, phHciNfc_sContext_t *);
333HYBRIS_IMPLEMENT_FUNCTION2(libnfc_so, NFCSTATUS, phHciNfc_ISO15693_Get_PipeID, phHciNfc_sContext_t *, uint8_t *);
334HYBRIS_IMPLEMENT_FUNCTION3(libnfc_so, NFCSTATUS, phHciNfc_ISO15693_Update_PipeInfo, phHciNfc_sContext_t *, uint8_t, phHciNfc_Pipe_Info_t *);
335HYBRIS_IMPLEMENT_FUNCTION3(libnfc_so, NFCSTATUS, phHciNfc_ISO15693_Update_Info, phHciNfc_sContext_t *, uint8_t, void *);
336HYBRIS_IMPLEMENT_FUNCTION2(libnfc_so, NFCSTATUS, phHciNfc_ISO15693_Info_Sequence, void *, void *);
337HYBRIS_IMPLEMENT_FUNCTION4(libnfc_so, NFCSTATUS, phHciNfc_Send_ISO15693_Command, phHciNfc_sContext_t *, void *, uint8_t, uint8_t);
338HYBRIS_IMPLEMENT_FUNCTION3(libnfc_so, NFCSTATUS, phHciNfc_ISO15693_Set_AFI, void *, void *, uint8_t);
339HYBRIS_IMPLEMENT_FUNCTION2(libnfc_so, NFCSTATUS, phHciNfc_Jewel_Get_PipeID, phHciNfc_sContext_t *, uint8_t *);
340HYBRIS_IMPLEMENT_FUNCTION1(libnfc_so, NFCSTATUS, phHciNfc_Jewel_Init_Resources, phHciNfc_sContext_t *);
341HYBRIS_IMPLEMENT_FUNCTION3(libnfc_so, NFCSTATUS, phHciNfc_Jewel_Update_PipeInfo, phHciNfc_sContext_t *, uint8_t, phHciNfc_Pipe_Info_t *);
342HYBRIS_IMPLEMENT_FUNCTION3(libnfc_so, NFCSTATUS, phHciNfc_Jewel_Update_Info, phHciNfc_sContext_t *, uint8_t, void *);
343HYBRIS_IMPLEMENT_FUNCTION4(libnfc_so, NFCSTATUS, phHciNfc_Send_Jewel_Command, phHciNfc_sContext_t *, void *, uint8_t, uint8_t);
344HYBRIS_IMPLEMENT_FUNCTION2(libnfc_so, NFCSTATUS, phHciNfc_Jewel_Info_Sequence, void *, void *);
345HYBRIS_IMPLEMENT_FUNCTION2(libnfc_so, NFCSTATUS, phHciNfc_Jewel_GetRID, phHciNfc_sContext_t *, void *);
346HYBRIS_IMPLEMENT_FUNCTION2(libnfc_so, NFCSTATUS, phHciNfc_LinkMgmt_Initialise, phHciNfc_sContext_t *, void *);
347HYBRIS_IMPLEMENT_FUNCTION2(libnfc_so, NFCSTATUS, phHciNfc_LinkMgmt_Release, phHciNfc_sContext_t *, void *);
348HYBRIS_IMPLEMENT_FUNCTION1(libnfc_so, NFCSTATUS, phHciNfc_Initiator_Init_Resources, phHciNfc_sContext_t *);
349HYBRIS_IMPLEMENT_FUNCTION2(libnfc_so, NFCSTATUS, phHciNfc_Initiator_Get_PipeID, phHciNfc_sContext_t *, uint8_t *);
350HYBRIS_IMPLEMENT_FUNCTION3(libnfc_so, NFCSTATUS, phHciNfc_Initiator_Update_PipeInfo, phHciNfc_sContext_t *, uint8_t, phHciNfc_Pipe_Info_t *);
351HYBRIS_IMPLEMENT_FUNCTION2(libnfc_so, NFCSTATUS, phHciNfc_NfcIP_Presence_Check, phHciNfc_sContext_t *, void *);
352HYBRIS_IMPLEMENT_FUNCTION1(libnfc_so, NFCSTATUS, phHciNfc_Target_Init_Resources, phHciNfc_sContext_t *);
353HYBRIS_IMPLEMENT_FUNCTION2(libnfc_so, NFCSTATUS, phHciNfc_Target_Get_PipeID, phHciNfc_sContext_t *, uint8_t *);
354HYBRIS_IMPLEMENT_FUNCTION3(libnfc_so, NFCSTATUS, phHciNfc_Target_Update_PipeInfo, phHciNfc_sContext_t *, uint8_t, phHciNfc_Pipe_Info_t *);
355HYBRIS_IMPLEMENT_FUNCTION2(libnfc_so, NFCSTATUS, phHciNfc_NfcIP_Info_Sequence, phHciNfc_sContext_t *, void *);
356HYBRIS_IMPLEMENT_FUNCTION4(libnfc_so, NFCSTATUS, phHciNfc_NfcIP_SetNAD, phHciNfc_sContext_t *, void *, phHciNfc_eNfcIPType_t, uint8_t);
357HYBRIS_IMPLEMENT_FUNCTION3(libnfc_so, NFCSTATUS, phHciNfc_NfcIP_SetDID, phHciNfc_sContext_t *, void *, uint8_t);
358HYBRIS_IMPLEMENT_FUNCTION4(libnfc_so, NFCSTATUS, phHciNfc_NfcIP_SetOptions, phHciNfc_sContext_t *, void *, phHciNfc_eNfcIPType_t, uint8_t);
359HYBRIS_IMPLEMENT_FUNCTION3(libnfc_so, NFCSTATUS, phHciNfc_NfcIP_SetPSL1, phHciNfc_sContext_t *, void *, uint8_t);
360HYBRIS_IMPLEMENT_FUNCTION3(libnfc_so, NFCSTATUS, phHciNfc_NfcIP_SetPSL2, phHciNfc_sContext_t *, void *, uint8_t);
361HYBRIS_IMPLEMENT_FUNCTION3(libnfc_so, NFCSTATUS, phHciNfc_NfcIP_GetStatus, phHciNfc_sContext_t *, void *, phHciNfc_eNfcIPType_t);
362HYBRIS_IMPLEMENT_FUNCTION3(libnfc_so, NFCSTATUS, phHciNfc_NfcIP_GetParam, phHciNfc_sContext_t *, void *, phHciNfc_eNfcIPType_t);
363HYBRIS_IMPLEMENT_FUNCTION2(libnfc_so, NFCSTATUS, phHciNfc_Initiator_Cont_Activate, phHciNfc_sContext_t *, void *);
364HYBRIS_IMPLEMENT_FUNCTION3(libnfc_so, NFCSTATUS, phHciNfc_NfcIP_GetATRInfo, phHciNfc_sContext_t *, void *, phHciNfc_eNfcIPType_t);
365HYBRIS_IMPLEMENT_FUNCTION3(libnfc_so, NFCSTATUS, phHciNfc_Delete_Pipe, phHciNfc_sContext_t *, void *, phHciNfc_Pipe_Info_t *);
366HYBRIS_IMPLEMENT_FUNCTION1(libnfc_so, NFCSTATUS, phHciNfc_SWP_Init_Resources, phHciNfc_sContext_t *);
367HYBRIS_IMPLEMENT_FUNCTION1(libnfc_so, NFCSTATUS, phHciNfc_PollLoop_Init_Resources, phHciNfc_sContext_t *);
368HYBRIS_IMPLEMENT_FUNCTION1(libnfc_so, NFCSTATUS, phHciNfc_ReaderA_Init_Resources, phHciNfc_sContext_t *);
369HYBRIS_IMPLEMENT_FUNCTION1(libnfc_so, NFCSTATUS, phHciNfc_ReaderB_Init_Resources, phHciNfc_sContext_t *);
370HYBRIS_IMPLEMENT_FUNCTION1(libnfc_so, NFCSTATUS, phHciNfc_WI_Init_Resources, phHciNfc_sContext_t *);
371HYBRIS_IMPLEMENT_FUNCTION3(libnfc_so, NFCSTATUS, phHciNfc_Delete_All_Pipes, phHciNfc_sContext_t *, void *, phHciNfc_PipeMgmt_Seq_t);
372HYBRIS_IMPLEMENT_FUNCTION3(libnfc_so, NFCSTATUS, phHciNfc_PollLoop_Update_PipeInfo, phHciNfc_sContext_t *, uint8_t, phHciNfc_Pipe_Info_t *);
373HYBRIS_IMPLEMENT_FUNCTION3(libnfc_so, NFCSTATUS, phHciNfc_WI_Update_PipeInfo, phHciNfc_sContext_t *, uint8_t, phHciNfc_Pipe_Info_t *);
374HYBRIS_IMPLEMENT_FUNCTION3(libnfc_so, NFCSTATUS, phHciNfc_SWP_Update_PipeInfo, phHciNfc_sContext_t *, uint8_t, phHciNfc_Pipe_Info_t *);
375HYBRIS_IMPLEMENT_FUNCTION3(libnfc_so, NFCSTATUS, phHciNfc_ReaderB_Update_PipeInfo, phHciNfc_sContext_t *, uint8_t, phHciNfc_Pipe_Info_t *);
376HYBRIS_IMPLEMENT_FUNCTION3(libnfc_so, NFCSTATUS, phHciNfc_ReaderA_Update_PipeInfo, phHciNfc_sContext_t *, uint8_t, phHciNfc_Pipe_Info_t *);
377HYBRIS_IMPLEMENT_FUNCTION2(libnfc_so, NFCSTATUS, phHciNfc_ReaderMgmt_Initialise, phHciNfc_sContext_t *, void *);
378HYBRIS_IMPLEMENT_FUNCTION2(libnfc_so, NFCSTATUS, phHciNfc_PollLoop_Get_PipeID, phHciNfc_sContext_t *, uint8_t *);
379HYBRIS_IMPLEMENT_FUNCTION2(libnfc_so, NFCSTATUS, phHciNfc_PollLoop_Initialise, phHciNfc_sContext_t *, void *);
380HYBRIS_IMPLEMENT_FUNCTION2(libnfc_so, NFCSTATUS, phHciNfc_PollLoop_Release, phHciNfc_sContext_t *, void *);
381HYBRIS_IMPLEMENT_FUNCTION4(libnfc_so, NFCSTATUS, phHciNfc_PollLoop_Cfg, void *, void *, uint8_t, void *);
382HYBRIS_IMPLEMENT_FUNCTION2(libnfc_so, NFCSTATUS, phHciNfc_ReaderA_Get_PipeID, phHciNfc_sContext_t *, uint8_t *);
383HYBRIS_IMPLEMENT_FUNCTION2(libnfc_so, NFCSTATUS, phHciNfc_ReaderA_Info_Sequence, void *, void *);
384HYBRIS_IMPLEMENT_FUNCTION3(libnfc_so, NFCSTATUS, phHciNfc_ReaderA_Auto_Activate, void *, void *, uint8_t);
385HYBRIS_IMPLEMENT_FUNCTION3(libnfc_so, NFCSTATUS, phHciNfc_ReaderA_Set_DataRateMax, void *, void *, uint8_t);
386HYBRIS_IMPLEMENT_FUNCTION4(libnfc_so, NFCSTATUS, phHciNfc_Send_ReaderA_Command, phHciNfc_sContext_t *, void *, uint8_t, uint8_t);
387HYBRIS_IMPLEMENT_FUNCTION2(libnfc_so, NFCSTATUS, phHciNfc_ReaderA_Cont_Activate, phHciNfc_sContext_t *, void *);
388HYBRIS_IMPLEMENT_FUNCTION3(libnfc_so, NFCSTATUS, phHciNfc_ReaderA_Update_Info, phHciNfc_sContext_t *, uint8_t, void *);
389HYBRIS_IMPLEMENT_FUNCTION2(libnfc_so, NFCSTATUS, phHciNfc_ReaderA_App_Data, void *, void *);
390HYBRIS_IMPLEMENT_FUNCTION2(libnfc_so, NFCSTATUS, phHciNfc_ReaderA_Fwi_Sfgt, void *, void *);
391HYBRIS_IMPLEMENT_FUNCTION2(libnfc_so, NFCSTATUS, phHciNfc_ReaderB_Get_PipeID, phHciNfc_sContext_t *, uint8_t *);
392HYBRIS_IMPLEMENT_FUNCTION3(libnfc_so, NFCSTATUS, phHciNfc_ReaderB_Update_Info, phHciNfc_sContext_t *, uint8_t, void *);
393HYBRIS_IMPLEMENT_FUNCTION2(libnfc_so, NFCSTATUS, phHciNfc_ReaderB_Info_Sequence, void *, void *);
394HYBRIS_IMPLEMENT_FUNCTION3(libnfc_so, NFCSTATUS, phHciNfc_ReaderB_Set_AFI, void *, void *, uint8_t);
395HYBRIS_IMPLEMENT_FUNCTION3(libnfc_so, NFCSTATUS, phHciNfc_ReaderB_Set_LayerData, void *, void *, phNfc_sData_t *);
396HYBRIS_IMPLEMENT_FUNCTION2(libnfc_so, NFCSTATUS, phHciNfc_ReaderMgmt_Info_Sequence, phHciNfc_sContext_t *, void *);
397HYBRIS_IMPLEMENT_FUNCTION2(libnfc_so, NFCSTATUS, phHciNfc_ReaderMgmt_Release, phHciNfc_sContext_t *, void *);
398HYBRIS_IMPLEMENT_FUNCTION4(libnfc_so, NFCSTATUS, phHciNfc_Send_RFReader_Event, phHciNfc_sContext_t *, void *, uint8_t, uint8_t);
399HYBRIS_IMPLEMENT_FUNCTION2(libnfc_so, NFCSTATUS, phHciNfc_ReaderMgmt_Disable_Discovery, phHciNfc_sContext_t *, void *);
400HYBRIS_IMPLEMENT_FUNCTION2(libnfc_so, NFCSTATUS, phHciNfc_ReaderMgmt_Enable_Discovery, phHciNfc_sContext_t *, void *);
401HYBRIS_IMPLEMENT_FUNCTION4(libnfc_so, NFCSTATUS, phHciNfc_Send_RFReader_Command, phHciNfc_sContext_t *, void *, uint8_t, uint8_t);
402HYBRIS_IMPLEMENT_FUNCTION3(libnfc_so, NFCSTATUS, phHciNfc_ReaderMgmt_UICC_Dispatch, phHciNfc_sContext_t *, void *, phHal_eRemDevType_t);
403HYBRIS_IMPLEMENT_FUNCTION3(libnfc_so, NFCSTATUS, phHciNfc_FSM_Validate, phHciNfc_sContext_t *, phHciNfc_eState_t, uint8_t);
404HYBRIS_IMPLEMENT_FUNCTION2(libnfc_so, NFCSTATUS, phHciNfc_Initialise_Sequence, phHciNfc_sContext_t *, void *);
405HYBRIS_IMPLEMENT_FUNCTION2(libnfc_so, NFCSTATUS, phHciNfc_Connect_Sequence, phHciNfc_sContext_t *, void *);
406HYBRIS_IMPLEMENT_FUNCTION2(libnfc_so, NFCSTATUS, phHciNfc_SWP_Get_PipeID, phHciNfc_sContext_t *, uint8_t *);
407HYBRIS_IMPLEMENT_FUNCTION2(libnfc_so, NFCSTATUS, phHciNfc_WI_Get_PipeID, phHciNfc_sContext_t *, uint8_t *);
408HYBRIS_IMPLEMENT_FUNCTION2(libnfc_so, NFCSTATUS, phHciNfc_WI_Get_Default, void *, void *);
409HYBRIS_IMPLEMENT_FUNCTION2(libnfc_so, NFCSTATUS, phLlcNfc_Release, void *, void *);
410HYBRIS_IMPLEMENT_VOID_FUNCTION1(libnfc_so, phLlcNfc_TimerUnInit, phLlcNfc_Context_t *);
411HYBRIS_IMPLEMENT_VOID_FUNCTION1(libnfc_so, phLlcNfc_H_Frame_DeInit, phLlcNfc_Frame_t *);
412HYBRIS_IMPLEMENT_FUNCTION4(libnfc_so, NFCSTATUS, phLlcNfc_Interface_Read, phLlcNfc_Context_t *, uint8_t, uint8_t *, uint32_t);
413HYBRIS_IMPLEMENT_FUNCTION4(libnfc_so, NFCSTATUS, phLlcNfc_H_CreateIFramePayload, phLlcNfc_Frame_t *, phLlcNfc_LlcPacket_t *, uint8_t *, uint8_t);
414HYBRIS_IMPLEMENT_FUNCTION2(libnfc_so, NFCSTATUS, phLlcNfc_H_StoreIFrame, phLlcNfc_StoreIFrame_t *, phLlcNfc_LlcPacket_t);
415HYBRIS_IMPLEMENT_FUNCTION3(libnfc_so, NFCSTATUS, phLlcNfc_Interface_Write, phLlcNfc_Context_t *, uint8_t *, uint32_t);
416HYBRIS_IMPLEMENT_FUNCTION2(libnfc_so, NFCSTATUS, phLlcNfc_StartTimers, uint8_t, uint8_t);
417HYBRIS_IMPLEMENT_VOID_FUNCTION1(libnfc_so, phLlcNfc_H_Frame_Init, phLlcNfc_Context_t *);
418HYBRIS_IMPLEMENT_FUNCTION1(libnfc_so, NFCSTATUS, phLlcNfc_Interface_Init, phLlcNfc_Context_t *);
419HYBRIS_IMPLEMENT_FUNCTION1(libnfc_so, NFCSTATUS, phLlcNfc_TimerInit, phLlcNfc_Context_t *);
420HYBRIS_IMPLEMENT_VOID_FUNCTION0(libnfc_so, phLlcNfc_CreateTimers);
421HYBRIS_IMPLEMENT_FUNCTION4(libnfc_so, NFCSTATUS, phLlcNfc_H_CreateUFramePayload, phLlcNfc_Context_t *, phLlcNfc_LlcPacket_t *, uint8_t *, phLlcNfc_LlcCmd_t);
422HYBRIS_IMPLEMENT_FUNCTION2(libnfc_so, NFCSTATUS, phLlcNfc_Interface_Register, phLlcNfc_Context_t *, phNfcLayer_sCfg_t *);
423HYBRIS_IMPLEMENT_VOID_FUNCTION4(libnfc_so, phLlcNfc_H_ComputeCrc, uint8_t *, uint8_t, uint8_t *, uint8_t *);
424HYBRIS_IMPLEMENT_FUNCTION3(libnfc_so, NFCSTATUS, phLlcNfc_H_SendTimedOutIFrame, phLlcNfc_Context_t *, phLlcNfc_StoreIFrame_t *, uint8_t);
425HYBRIS_IMPLEMENT_FUNCTION2(libnfc_so, NFCSTATUS, phLlcNfc_H_SendUserIFrame, phLlcNfc_Context_t *, phLlcNfc_StoreIFrame_t *);
426HYBRIS_IMPLEMENT_FUNCTION3(libnfc_so, NFCSTATUS, phLlcNfc_H_SendRejectedIFrame, phLlcNfc_Context_t *, phLlcNfc_StoreIFrame_t *, uint8_t);
427HYBRIS_IMPLEMENT_FUNCTION3(libnfc_so, NFCSTATUS, phLlcNfc_H_CreateSFramePayload, phLlcNfc_Frame_t *, phLlcNfc_LlcPacket_t *, phLlcNfc_LlcCmd_t);
428HYBRIS_IMPLEMENT_FUNCTION1(libnfc_so, NFCSTATUS, phLlcNfc_H_SendRSETFrame, phLlcNfc_Context_t *);
429HYBRIS_IMPLEMENT_FUNCTION1(libnfc_so, NFCSTATUS, phLlcNfc_H_WriteWaitCall, phLlcNfc_Context_t *);
430HYBRIS_IMPLEMENT_VOID_FUNCTION1(libnfc_so, phLlcNfc_H_ProcessIFrame, phLlcNfc_Context_t *);
431HYBRIS_IMPLEMENT_VOID_FUNCTION2(libnfc_so, phLlcNfc_StopTimers, uint8_t, uint8_t);
432HYBRIS_IMPLEMENT_VOID_FUNCTION1(libnfc_so, phLlcNfc_H_SendInfo, phLlcNfc_Context_t *);
433HYBRIS_IMPLEMENT_FUNCTION1(libnfc_so, NFCSTATUS, phLlcNfc_H_ProRecvFrame, phLlcNfc_Context_t *);
434HYBRIS_IMPLEMENT_VOID_FUNCTION0(libnfc_so, phLlcNfc_StopAllTimers);
435HYBRIS_IMPLEMENT_FUNCTION2(libnfc_so, NFCSTATUS, phLlcNfc_H_ChangeState, phLlcNfc_Context_t *, phLlcNfc_State_t);
436HYBRIS_IMPLEMENT_VOID_FUNCTION0(libnfc_so, phLlcNfc_DeleteTimer);
437HYBRIS_IMPLEMENT_FUNCTION3(libnfc_so, uint32_t, phFriNfc_Llcp_Header2Buffer, phFriNfc_Llcp_sPacketHeader_t *, uint8_t *, uint32_t);
438HYBRIS_IMPLEMENT_FUNCTION3(libnfc_so, uint32_t, phFriNfc_Llcp_Sequence2Buffer, phFriNfc_Llcp_sPacketSequence_t *, uint8_t *, uint32_t);
439HYBRIS_IMPLEMENT_FUNCTION4(libnfc_so, NFCSTATUS, phFriNfc_LlcpMac_Send, phFriNfc_LlcpMac_t *, phNfc_sData_t *, phFriNfc_LlcpMac_Send_CB_t, void *);
440HYBRIS_IMPLEMENT_FUNCTION1(libnfc_so, NFCSTATUS, phFriNfc_LlcpMac_Deactivate, phFriNfc_LlcpMac_t *);
441HYBRIS_IMPLEMENT_FUNCTION3(libnfc_so, uint32_t, phFriNfc_Llcp_Buffer2Header, uint8_t *, uint32_t, phFriNfc_Llcp_sPacketHeader_t *);
442HYBRIS_IMPLEMENT_FUNCTION4(libnfc_so, NFCSTATUS, phFriNfc_Llcp_DecodeTLV, phNfc_sData_t *, uint32_t *, uint8_t *, phNfc_sData_t *);
443HYBRIS_IMPLEMENT_FUNCTION5(libnfc_so, NFCSTATUS, phFriNfc_Llcp_EncodeTLV, phNfc_sData_t *, uint32_t *, uint8_t, uint8_t, uint8_t *);
444HYBRIS_IMPLEMENT_FUNCTION4(libnfc_so, NFCSTATUS, phFriNfc_LlcpMac_Receive, phFriNfc_LlcpMac_t *, phNfc_sData_t *, phFriNfc_LlcpMac_Reveive_CB_t, void *);
445HYBRIS_IMPLEMENT_FUNCTION4(libnfc_so, NFCSTATUS, phFriNfc_LlcpMac_Reset, phFriNfc_LlcpMac_t *, void *, phFriNfc_LlcpMac_LinkStatus_CB_t, void *);
446HYBRIS_IMPLEMENT_FUNCTION4(libnfc_so, NFCSTATUS, phFriNfc_LlcpMac_ChkLlcp, phFriNfc_LlcpMac_t *, phHal_sRemoteDevInformation_t *, phFriNfc_LlcpMac_Chk_CB_t, void *);
447HYBRIS_IMPLEMENT_FUNCTION1(libnfc_so, NFCSTATUS, phFriNfc_LlcpMac_Activate, phFriNfc_LlcpMac_t *);
448HYBRIS_IMPLEMENT_FUNCTION6(libnfc_so, NFCSTATUS, phFriNfc_Llcp_Send, phFriNfc_Llcp_t *, phFriNfc_Llcp_sPacketHeader_t *, phFriNfc_Llcp_sPacketSequence_t *, phNfc_sData_t *, phFriNfc_Llcp_Send_CB_t, void *);
449HYBRIS_IMPLEMENT_FUNCTION3(libnfc_so, NFCSTATUS, phFriNfc_Llcp_Recv, phFriNfc_Llcp_t *, phFriNfc_Llcp_Recv_CB_t, void *);
450HYBRIS_IMPLEMENT_FUNCTION5(libnfc_so, NFCSTATUS, phFriNfc_Llcp_AppendTLV, phNfc_sData_t *, uint32_t, uint32_t *, uint8_t, uint8_t *);
451HYBRIS_IMPLEMENT_VOID_FUNCTION2(libnfc_so, phFriNfc_Llcp_EncodeMIUX, uint16_t, uint8_t *);
452HYBRIS_IMPLEMENT_VOID_FUNCTION1(libnfc_so, phFriNfc_Llcp_EncodeRW, uint8_t *);
453HYBRIS_IMPLEMENT_VOID_FUNCTION3(libnfc_so, phFriNfc_Llcp_CyclicFifoInit, P_UTIL_FIFO_BUFFER, const uint8_t *, uint32_t);
454HYBRIS_IMPLEMENT_VOID_FUNCTION1(libnfc_so, phFriNfc_Llcp_CyclicFifoClear, P_UTIL_FIFO_BUFFER);
455HYBRIS_IMPLEMENT_FUNCTION3(libnfc_so, uint32_t, phFriNfc_Llcp_CyclicFifoWrite, P_UTIL_FIFO_BUFFER, uint8_t *, uint32_t);
456HYBRIS_IMPLEMENT_FUNCTION3(libnfc_so, uint32_t, phFriNfc_Llcp_CyclicFifoFifoRead, P_UTIL_FIFO_BUFFER, uint8_t *, uint32_t);
457HYBRIS_IMPLEMENT_FUNCTION1(libnfc_so, uint32_t, phFriNfc_Llcp_CyclicFifoUsage, P_UTIL_FIFO_BUFFER);
458HYBRIS_IMPLEMENT_FUNCTION1(libnfc_so, uint32_t, phFriNfc_Llcp_CyclicFifoAvailable, P_UTIL_FIFO_BUFFER);
459HYBRIS_IMPLEMENT_FUNCTION3(libnfc_so, uint32_t, phFriNfc_Llcp_Buffer2Sequence, uint8_t *, uint32_t, phFriNfc_Llcp_sPacketSequence_t *);
460HYBRIS_IMPLEMENT_VOID_FUNCTION5(libnfc_so, Handle_ConnectionOriented_IncommingFrame, phFriNfc_LlcpTransport_t *, phNfc_sData_t *, uint8_t, uint8_t, uint8_t);
461HYBRIS_IMPLEMENT_VOID_FUNCTION4(libnfc_so, Handle_Connectionless_IncommingFrame, phFriNfc_LlcpTransport_t *, phNfc_sData_t *, uint8_t, uint8_t);
462#if ANDROID_VERSION_MAJOR>=4 && ANDROID_VERSION_MINOR>=3
463/* see libnfc-nxp commit 7c4b4fad -- since Android 4.3 */
464HYBRIS_IMPLEMENT_FUNCTION7(libnfc_so, NFCSTATUS, phFriNfc_LlcpTransport_LinkSend, phFriNfc_LlcpTransport_t *, phFriNfc_Llcp_sPacketHeader_t *, phFriNfc_Llcp_sPacketSequence_t *, phNfc_sData_t *, phFriNfc_Llcp_LinkSend_CB_t, uint8_t, void *);
465#else
466HYBRIS_IMPLEMENT_FUNCTION6(libnfc_so, NFCSTATUS, phFriNfc_LlcpTransport_LinkSend, phFriNfc_LlcpTransport_t *, phFriNfc_Llcp_sPacketHeader_t *, phFriNfc_Llcp_sPacketSequence_t *, phNfc_sData_t *, phFriNfc_Llcp_Send_CB_t, void *);
467#endif
468HYBRIS_IMPLEMENT_FUNCTION13(libnfc_so, NFCSTATUS, phFriNfc_LlcpTransport_SendFrameReject, phFriNfc_LlcpTransport_t *, uint8_t, uint8_t, uint8_t, phFriNfc_Llcp_sPacketSequence_t *, uint8_t, uint8_t, uint8_t, uint8_t, uint8_t, uint8_t, uint8_t, uint8_t);
469HYBRIS_IMPLEMENT_FUNCTION1(libnfc_so, NFCSTATUS, phFriNfc_LlcpTransport_ConnectionOriented_Close, phFriNfc_LlcpTransport_Socket_t *);
470HYBRIS_IMPLEMENT_FUNCTION4(libnfc_so, NFCSTATUS, phFriNfc_LlcpTransport_SendDisconnectMode, phFriNfc_LlcpTransport_t *, uint8_t, uint8_t, uint8_t);
471HYBRIS_IMPLEMENT_FUNCTION1(libnfc_so, NFCSTATUS, phFriNfc_LlcpTransport_ConnectionOriented_HandlePendingOperations, phFriNfc_LlcpTransport_Socket_t *);
472HYBRIS_IMPLEMENT_FUNCTION1(libnfc_so, NFCSTATUS, phFriNfc_LlcpTransport_Connectionless_HandlePendingOperations, phFriNfc_LlcpTransport_Socket_t *);
473HYBRIS_IMPLEMENT_FUNCTION2(libnfc_so, NFCSTATUS, phFriNfc_LlcpTransport_ConnectionOriented_SocketGetLocalOptions, phFriNfc_LlcpTransport_Socket_t *, phLibNfc_Llcp_sSocketOptions_t *);
474HYBRIS_IMPLEMENT_FUNCTION2(libnfc_so, NFCSTATUS, phFriNfc_LlcpTransport_ConnectionOriented_SocketGetRemoteOptions, phFriNfc_LlcpTransport_Socket_t *, phLibNfc_Llcp_sSocketOptions_t *);
475HYBRIS_IMPLEMENT_FUNCTION1(libnfc_so, NFCSTATUS, phFriNfc_LlcpTransport_Connectionless_Close, phFriNfc_LlcpTransport_Socket_t *);
476HYBRIS_IMPLEMENT_FUNCTION3(libnfc_so, NFCSTATUS, phFriNfc_LlcpTransport_ConnectionOriented_Listen, phFriNfc_LlcpTransport_Socket_t *, pphFriNfc_LlcpTransportSocketListenCb_t, void *);
477HYBRIS_IMPLEMENT_FUNCTION6(libnfc_so, NFCSTATUS, phFriNfc_LlcpTransport_ConnectionOriented_Accept, phFriNfc_LlcpTransport_Socket_t *, phFriNfc_LlcpTransport_sSocketOptions_t *, phNfc_sData_t *, pphFriNfc_LlcpTransportSocketErrCb_t, pphFriNfc_LlcpTransportSocketAcceptCb_t, void *);
478HYBRIS_IMPLEMENT_FUNCTION3(libnfc_so, NFCSTATUS, phLibNfc_LlcpTransport_ConnectionOriented_Reject, phFriNfc_LlcpTransport_Socket_t *, pphFriNfc_LlcpTransportSocketRejectCb_t, void *);
479HYBRIS_IMPLEMENT_FUNCTION5(libnfc_so, NFCSTATUS, phFriNfc_LlcpTransport_ConnectionOriented_Connect, phFriNfc_LlcpTransport_Socket_t *, uint8_t, phNfc_sData_t *, pphFriNfc_LlcpTransportSocketConnectCb_t, void *);
480HYBRIS_IMPLEMENT_FUNCTION3(libnfc_so, NFCSTATUS, phLibNfc_LlcpTransport_ConnectionOriented_Disconnect, phFriNfc_LlcpTransport_Socket_t *, pphLibNfc_LlcpSocketDisconnectCb_t, void *);
481HYBRIS_IMPLEMENT_FUNCTION4(libnfc_so, NFCSTATUS, phFriNfc_LlcpTransport_ConnectionOriented_Send, phFriNfc_LlcpTransport_Socket_t *, phNfc_sData_t *, pphFriNfc_LlcpTransportSocketSendCb_t, void *);
482HYBRIS_IMPLEMENT_FUNCTION4(libnfc_so, NFCSTATUS, phFriNfc_LlcpTransport_ConnectionOriented_Recv, phFriNfc_LlcpTransport_Socket_t *, phNfc_sData_t *, pphFriNfc_LlcpTransportSocketRecvCb_t, void *);
483HYBRIS_IMPLEMENT_FUNCTION5(libnfc_so, NFCSTATUS, phFriNfc_LlcpTransport_Connectionless_SendTo, phFriNfc_LlcpTransport_Socket_t *, uint8_t, phNfc_sData_t *, pphFriNfc_LlcpTransportSocketSendCb_t, void *);
484HYBRIS_IMPLEMENT_FUNCTION4(libnfc_so, NFCSTATUS, phLibNfc_LlcpTransport_Connectionless_RecvFrom, phFriNfc_LlcpTransport_Socket_t *, phNfc_sData_t *, pphFriNfc_LlcpTransportSocketRecvFromCb_t, void *);
485HYBRIS_IMPLEMENT_FUNCTION6(libnfc_so, NFCSTATUS, phFriNfc_LlcpConnTransport_Send, phFriNfc_Llcp_t *, phFriNfc_Llcp_sPacketHeader_t *, phFriNfc_Llcp_sPacketSequence_t *, phNfc_sData_t *, phFriNfc_Llcp_Send_CB_t, phFriNfc_LlcpTransport_t *);
486HYBRIS_IMPLEMENT_FUNCTION1(libnfc_so, NFCSTATUS, phFriNfc_LlcpMac_Nfcip_Register, phFriNfc_LlcpMac_t *);
487HYBRIS_IMPLEMENT_FUNCTION9(libnfc_so, NFCSTATUS, phFriNfc_OvrHal_Transceive, phFriNfc_OvrHal_t *, phFriNfc_CplRt_t *, phHal_sRemoteDevInformation_t *, phHal_uCmdList_t, phHal_sDepAdditionalInfo_t *, uint8_t *, uint16_t, uint8_t *, uint16_t *);
488HYBRIS_IMPLEMENT_FUNCTION5(libnfc_so, NFCSTATUS, phFriNfc_OvrHal_Receive, phFriNfc_OvrHal_t *, phFriNfc_CplRt_t *, phHal_sRemoteDevInformation_t *, uint8_t *, uint16_t *);
489HYBRIS_IMPLEMENT_FUNCTION5(libnfc_so, NFCSTATUS, phFriNfc_OvrHal_Send, phFriNfc_OvrHal_t *, phFriNfc_CplRt_t *, phHal_sRemoteDevInformation_t *, uint8_t *, uint16_t);
490HYBRIS_IMPLEMENT_VOID_FUNCTION2(libnfc_so, phFriNfc_NdefMap_Process, void *, NFCSTATUS);
491HYBRIS_IMPLEMENT_VOID_FUNCTION2(libnfc_so, phFriNfc_Felica_Process, void *, NFCSTATUS);
492HYBRIS_IMPLEMENT_FUNCTION2(libnfc_so, NFCSTATUS, phFriNfc_MapTool_ChkSpcVer, const phFriNfc_NdefMap_t *, uint8_t);
493HYBRIS_IMPLEMENT_FUNCTION2(libnfc_so, NFCSTATUS, phFriNfc_MapTool_SetCardState, phFriNfc_NdefMap_t *, uint32_t);
494HYBRIS_IMPLEMENT_FUNCTION4(libnfc_so, NFCSTATUS, phFriNfc_Felica_RdNdef, phFriNfc_NdefMap_t *, uint8_t *, uint32_t *, uint8_t);
495HYBRIS_IMPLEMENT_FUNCTION4(libnfc_so, NFCSTATUS, phFriNfc_Felica_WrNdef, phFriNfc_NdefMap_t *, uint8_t *, uint32_t *, uint8_t);
496HYBRIS_IMPLEMENT_FUNCTION1(libnfc_so, NFCSTATUS, phFriNfc_Felica_EraseNdef, phFriNfc_NdefMap_t *);
497HYBRIS_IMPLEMENT_FUNCTION1(libnfc_so, NFCSTATUS, phFriNfc_Felica_ChkNdef, phFriNfc_NdefMap_t *);
498HYBRIS_IMPLEMENT_VOID_FUNCTION2(libnfc_so, phFriNfc_MifareStdMap_Process, void *, NFCSTATUS);
499HYBRIS_IMPLEMENT_FUNCTION1(libnfc_so, NFCSTATUS, phFriNfc_MifareStdMap_H_Reset, phFriNfc_NdefMap_t *);
500HYBRIS_IMPLEMENT_FUNCTION1(libnfc_so, NFCSTATUS, phFriNfc_MifareStdMap_ChkNdef, phFriNfc_NdefMap_t *);
501HYBRIS_IMPLEMENT_FUNCTION3(libnfc_so, NFCSTATUS, phFriNfc_OvrHal_Reconnect, phFriNfc_OvrHal_t *, phFriNfc_CplRt_t *, phHal_sRemoteDevInformation_t *);
502HYBRIS_IMPLEMENT_FUNCTION4(libnfc_so, NFCSTATUS, phFriNfc_OvrHal_Connect, phFriNfc_OvrHal_t *, phFriNfc_CplRt_t *, phHal_sRemoteDevInformation_t *, phHal_sDevInputParam_t *);
503HYBRIS_IMPLEMENT_FUNCTION4(libnfc_so, NFCSTATUS, phFriNfc_MifareStdMap_RdNdef, phFriNfc_NdefMap_t *, uint8_t *, uint32_t *, uint8_t);
504HYBRIS_IMPLEMENT_FUNCTION4(libnfc_so, NFCSTATUS, phFriNfc_MifareStdMap_WrNdef, phFriNfc_NdefMap_t *, uint8_t *, uint32_t *, uint8_t);
505HYBRIS_IMPLEMENT_VOID_FUNCTION2(libnfc_so, phFriNfc_MifareUL_Process, void *, NFCSTATUS);
506HYBRIS_IMPLEMENT_FUNCTION1(libnfc_so, NFCSTATUS, phFriNfc_MifareUL_H_Reset, phFriNfc_NdefMap_t *);
507HYBRIS_IMPLEMENT_FUNCTION4(libnfc_so, NFCSTATUS, phFriNfc_MifareUL_RdNdef, phFriNfc_NdefMap_t *, uint8_t *, uint32_t *, uint8_t);
508HYBRIS_IMPLEMENT_FUNCTION4(libnfc_so, NFCSTATUS, phFriNfc_MifareUL_WrNdef, phFriNfc_NdefMap_t *, uint8_t *, uint32_t *, uint8_t);
509HYBRIS_IMPLEMENT_FUNCTION1(libnfc_so, NFCSTATUS, phFriNfc_MifareUL_ChkNdef, phFriNfc_NdefMap_t *);
510HYBRIS_IMPLEMENT_VOID_FUNCTION2(libnfc_so, phFriNfc_TopazMap_Process, void *, NFCSTATUS);
511HYBRIS_IMPLEMENT_VOID_FUNCTION1(libnfc_so, phFriNfc_TopazMap_H_Reset, phFriNfc_NdefMap_t *);
512HYBRIS_IMPLEMENT_FUNCTION1(libnfc_so, NFCSTATUS, phFriNfc_TopazMap_ChkNdef, phFriNfc_NdefMap_t *);
513HYBRIS_IMPLEMENT_FUNCTION1(libnfc_so, NFCSTATUS, phFriNfc_TopazMap_ConvertToReadOnly, phFriNfc_NdefMap_t *);
514HYBRIS_IMPLEMENT_FUNCTION4(libnfc_so, NFCSTATUS, phFriNfc_TopazMap_RdNdef, phFriNfc_NdefMap_t *, uint8_t *, uint32_t *, uint8_t);
515HYBRIS_IMPLEMENT_FUNCTION4(libnfc_so, NFCSTATUS, phFriNfc_TopazMap_WrNdef, phFriNfc_NdefMap_t *, uint8_t *, uint32_t *, uint8_t);
516HYBRIS_IMPLEMENT_FUNCTION2(libnfc_so, NFCSTATUS, phFriNfc_Tpz_H_ChkSpcVer, phFriNfc_NdefMap_t *, uint8_t);
517HYBRIS_IMPLEMENT_VOID_FUNCTION2(libnfc_so, phFriNfc_TopazDynamicMap_Process, void *, NFCSTATUS);
518HYBRIS_IMPLEMENT_FUNCTION1(libnfc_so, NFCSTATUS, phFriNfc_TopazDynamicMap_ChkNdef, phFriNfc_NdefMap_t *);
519HYBRIS_IMPLEMENT_FUNCTION4(libnfc_so, NFCSTATUS, phFriNfc_TopazDynamicMap_RdNdef, phFriNfc_NdefMap_t *, uint8_t *, uint32_t *, uint8_t);
520HYBRIS_IMPLEMENT_FUNCTION1(libnfc_so, NFCSTATUS, phFriNfc_TopazDynamicMap_ConvertToReadOnly, phFriNfc_NdefMap_t *);
521HYBRIS_IMPLEMENT_FUNCTION4(libnfc_so, NFCSTATUS, phFriNfc_TopazDynamicMap_WrNdef, phFriNfc_NdefMap_t *, uint8_t *, uint32_t *, uint8_t);
522HYBRIS_IMPLEMENT_VOID_FUNCTION2(libnfc_so, phFriNfc_Desfire_Process, void *, NFCSTATUS);
523HYBRIS_IMPLEMENT_FUNCTION4(libnfc_so, NFCSTATUS, phFriNfc_Desfire_RdNdef, phFriNfc_NdefMap_t *, uint8_t *, uint32_t *, uint8_t);
524HYBRIS_IMPLEMENT_FUNCTION4(libnfc_so, NFCSTATUS, phFriNfc_Desfire_WrNdef, phFriNfc_NdefMap_t *, uint8_t *, uint32_t *, uint8_t);
525HYBRIS_IMPLEMENT_FUNCTION1(libnfc_so, NFCSTATUS, phFriNfc_Desfire_ChkNdef, phFriNfc_NdefMap_t *);
526HYBRIS_IMPLEMENT_VOID_FUNCTION2(libnfc_so, phFriNfc_ISO15693_Process, void *, NFCSTATUS);
527HYBRIS_IMPLEMENT_FUNCTION1(libnfc_so, NFCSTATUS, phFriNfc_ISO15693_ChkNdef, phFriNfc_NdefMap_t *);
528HYBRIS_IMPLEMENT_FUNCTION4(libnfc_so, NFCSTATUS, phFriNfc_ISO15693_RdNdef, phFriNfc_NdefMap_t *, uint8_t *, uint32_t *, uint8_t);
529HYBRIS_IMPLEMENT_FUNCTION4(libnfc_so, NFCSTATUS, phFriNfc_ISO15693_WrNdef, phFriNfc_NdefMap_t *, uint8_t *, uint32_t *, uint8_t);
530HYBRIS_IMPLEMENT_FUNCTION1(libnfc_so, NFCSTATUS, phFriNfc_ISO15693_ConvertToReadOnly, phFriNfc_NdefMap_t *);
531HYBRIS_IMPLEMENT_FUNCTION2(libnfc_so, NFCSTATUS, phFriNfc_NdefMap_SetCardState, phFriNfc_NdefMap_t *, uint16_t);
532HYBRIS_IMPLEMENT_FUNCTION2(libnfc_so, NFCSTATUS, phFriNfc_NdefMap_CheckSpecVersion, phFriNfc_NdefMap_t *, uint8_t);
533HYBRIS_IMPLEMENT_FUNCTION3(libnfc_so, int16_t, phFriNfc_NdefReg_Strnicmp, const int8_t *, const int8_t *, uint32_t);
534HYBRIS_IMPLEMENT_FUNCTION2(libnfc_so, NFCSTATUS, phFriNfc_NdefReg_DispatchRecord, phFriNfc_NdefReg_t *, phFriNfc_NdefRecord_t *);
535HYBRIS_IMPLEMENT_VOID_FUNCTION2(libnfc_so, phFriNfc_NdefSmtCrd_Process, void *, NFCSTATUS);
536HYBRIS_IMPLEMENT_VOID_FUNCTION1(libnfc_so, phFriNfc_Desfire_Reset, phFriNfc_sNdefSmtCrdFmt_t *);
537HYBRIS_IMPLEMENT_FUNCTION1(libnfc_so, NFCSTATUS, phFriNfc_Desfire_Format, phFriNfc_sNdefSmtCrdFmt_t *);
538HYBRIS_IMPLEMENT_FUNCTION1(libnfc_so, NFCSTATUS, phFriNfc_Desfire_ConvertToReadOnly, phFriNfc_sNdefSmtCrdFmt_t *);
539HYBRIS_IMPLEMENT_VOID_FUNCTION2(libnfc_so, phFriNfc_Desf_Process, void *, NFCSTATUS);
540HYBRIS_IMPLEMENT_VOID_FUNCTION2(libnfc_so, phFriNfc_SmtCrdFmt_HCrHandler, phFriNfc_sNdefSmtCrdFmt_t *, NFCSTATUS);
541HYBRIS_IMPLEMENT_VOID_FUNCTION1(libnfc_so, phFriNfc_MfUL_Reset, phFriNfc_sNdefSmtCrdFmt_t *);
542HYBRIS_IMPLEMENT_FUNCTION1(libnfc_so, NFCSTATUS, phFriNfc_MfUL_Format, phFriNfc_sNdefSmtCrdFmt_t *);
543HYBRIS_IMPLEMENT_FUNCTION1(libnfc_so, NFCSTATUS, phFriNfc_MfUL_ConvertToReadOnly, phFriNfc_sNdefSmtCrdFmt_t *);
544HYBRIS_IMPLEMENT_VOID_FUNCTION2(libnfc_so, phFriNfc_MfUL_Process, void *, NFCSTATUS);
545HYBRIS_IMPLEMENT_VOID_FUNCTION1(libnfc_so, phFriNfc_MfStd_Reset, phFriNfc_sNdefSmtCrdFmt_t *);
546HYBRIS_IMPLEMENT_FUNCTION2(libnfc_so, NFCSTATUS, phFriNfc_MfStd_Format, phFriNfc_sNdefSmtCrdFmt_t *, const uint8_t *);
547HYBRIS_IMPLEMENT_VOID_FUNCTION2(libnfc_so, phFriNfc_MfStd_Process, void *, NFCSTATUS);
548HYBRIS_IMPLEMENT_VOID_FUNCTION1(libnfc_so, phFriNfc_ISO15693_FmtReset, phFriNfc_sNdefSmtCrdFmt_t *);
549HYBRIS_IMPLEMENT_FUNCTION1(libnfc_so, NFCSTATUS, phFriNfc_ISO15693_Format, phFriNfc_sNdefSmtCrdFmt_t *);
550HYBRIS_IMPLEMENT_VOID_FUNCTION2(libnfc_so, phFriNfc_ISO15693_FmtProcess, void *, NFCSTATUS);
551HYBRIS_IMPLEMENT_VOID_FUNCTION1(libnfc_so, phOsalNfc_Timer_DeferredCall, void *);
552HYBRIS_IMPLEMENT_FUNCTION4(libnfc_so, int, phDal4Nfc_msgsnd, int, void *, size_t, int);
553HYBRIS_IMPLEMENT_VOID_FUNCTION1(libnfc_so, phOsalNfc_DbgString, const char *);
554HYBRIS_IMPLEMENT_VOID_FUNCTION2(libnfc_so, phOsalNfc_DbgTrace, uint8_t *, uint32_t);
555HYBRIS_IMPLEMENT_VOID_FUNCTION4(libnfc_so, phOsalNfc_PrintData, const char *, uint32_t, uint8_t *, int);
556HYBRIS_IMPLEMENT_VOID_FUNCTION0(libnfc_so, phDal4Nfc_uart_initialize);
557HYBRIS_IMPLEMENT_VOID_FUNCTION1(libnfc_so, phDal4Nfc_uart_set_open_from_handle, phHal_sHwReference_t *);
558HYBRIS_IMPLEMENT_FUNCTION0(libnfc_so, int, phDal4Nfc_uart_is_opened);
559HYBRIS_IMPLEMENT_VOID_FUNCTION0(libnfc_so, phDal4Nfc_uart_flush);
560HYBRIS_IMPLEMENT_VOID_FUNCTION0(libnfc_so, phDal4Nfc_uart_close);
561HYBRIS_IMPLEMENT_FUNCTION2(libnfc_so, NFCSTATUS, phDal4Nfc_uart_open_and_configure, pphDal4Nfc_sConfig_t, void **);
562HYBRIS_IMPLEMENT_FUNCTION2(libnfc_so, int, phDal4Nfc_uart_read, uint8_t *, int);
563HYBRIS_IMPLEMENT_FUNCTION2(libnfc_so, int, phDal4Nfc_uart_write, uint8_t *, int);
564HYBRIS_IMPLEMENT_FUNCTION1(libnfc_so, int, phDal4Nfc_uart_reset, long);
565HYBRIS_IMPLEMENT_FUNCTION2(libnfc_so, NFCSTATUS, phDal4Nfc_Shutdown, void *, void *);
566HYBRIS_IMPLEMENT_FUNCTION4(libnfc_so, NFCSTATUS, phDal4Nfc_ReadWait, void *, void *, uint8_t *, uint16_t);
567HYBRIS_IMPLEMENT_FUNCTION2(libnfc_so, NFCSTATUS, phDal4Nfc_ReadWaitCancel, void *, void *);
568HYBRIS_IMPLEMENT_FUNCTION4(libnfc_so, NFCSTATUS, phDal4Nfc_Read, void *, void *, uint8_t *, uint16_t);
569HYBRIS_IMPLEMENT_FUNCTION2(libnfc_so, NFCSTATUS, phDal4Nfc_Init, void *, void *);
570HYBRIS_IMPLEMENT_FUNCTION4(libnfc_so, NFCSTATUS, phDal4Nfc_Write, void *, void *, uint8_t *, uint16_t);
571HYBRIS_IMPLEMENT_FUNCTION1(libnfc_so, int, phDal4Nfc_ReaderThread, void *);
572HYBRIS_IMPLEMENT_VOID_FUNCTION0(libnfc_so, phDal4Nfc_i2c_initialize);
573HYBRIS_IMPLEMENT_VOID_FUNCTION1(libnfc_so, phDal4Nfc_i2c_set_open_from_handle, phHal_sHwReference_t *);
574HYBRIS_IMPLEMENT_FUNCTION0(libnfc_so, int, phDal4Nfc_i2c_is_opened);
575HYBRIS_IMPLEMENT_VOID_FUNCTION0(libnfc_so, phDal4Nfc_i2c_flush);
576HYBRIS_IMPLEMENT_VOID_FUNCTION0(libnfc_so, phDal4Nfc_i2c_close);
577HYBRIS_IMPLEMENT_FUNCTION2(libnfc_so, NFCSTATUS, phDal4Nfc_i2c_open_and_configure, pphDal4Nfc_sConfig_t, void **);
578HYBRIS_IMPLEMENT_FUNCTION2(libnfc_so, int, phDal4Nfc_i2c_read, uint8_t *, int);
579HYBRIS_IMPLEMENT_FUNCTION2(libnfc_so, int, phDal4Nfc_i2c_write, uint8_t *, int);
580HYBRIS_IMPLEMENT_FUNCTION1(libnfc_so, int, phDal4Nfc_i2c_reset, long);
581HYBRIS_IMPLEMENT_VOID_FUNCTION2(libnfc_so, phDal4Nfc_DeferredCall, pphDal4Nfc_DeferFuncPointer_t, void *);
582HYBRIS_IMPLEMENT_FUNCTION2(libnfc_so, int, phDal4Nfc_msgget, key_t, int);
583HYBRIS_IMPLEMENT_FUNCTION3(libnfc_so, int, phDal4Nfc_msgctl, int, int, void *);
584HYBRIS_IMPLEMENT_FUNCTION5(libnfc_so, int, phDal4Nfc_msgrcv, int, void *, size_t, long, int);
585/* XXX No prototype for exported symbol: __on_dlclose */