1 /*
2  * Copyright (C) 2015 The Android Open Source Project
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  *      http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
16 
17 #ifndef PHNFCTYPES_MAPPING_H_
18 #define PHNFCTYPES_MAPPING_H_
19 
20 typedef phNfc_sData_t phHal_sData_t;
21 typedef phNfc_sSupProtocol_t phHal_sSupProtocol_t;
22 #define phHal_eMifareRaw phNfc_eMifareRaw
23 #define phHal_eMifareAuthentA phNfc_eMifareAuthentA
24 #define phHal_eMifareAuthentB phNfc_eMifareAuthentB
25 #define phHal_eMifareRead16 phNfc_eMifareRead16
26 #define phHal_eMifareRead phNfc_eMifareRead
27 #define phHal_eMifareWrite16 phNfc_eMifareWrite16
28 #define phHal_eMifareWrite4 phNfc_eMifareWrite4
29 #define phHal_eMifareInc phNfc_eMifareInc
30 #define phHal_eMifareDec phNfc_eMifareDec
31 #define phHal_eMifareTransfer phNfc_eMifareTransfer
32 #define phHal_eMifareRestore phNfc_eMifareRestore
33 #define phHal_eMifareReadSector phNfc_eMifareReadSector
34 #define phHal_eMifareWriteSector phNfc_eMifareWriteSector
35 #define phHal_eMifareReadN phNfc_eMifareReadN
36 #define phHal_eMifareWriteN phNfc_eMifareWriteN
37 #define phHal_eMifareSectorSel phNfc_eMifareSectorSel
38 #define phHal_eMifareAuth phNfc_eMifareAuth
39 #define phHal_eMifareProxCheck phNfc_eMifareProxCheck
40 #define phHal_eMifareInvalidCmd phNfc_eMifareInvalidCmd
41 
42 typedef phNfc_eMifareCmdList_t phHal_eMifareCmdList_t;
43 
44 typedef phNfc_uCmdList_t phHal_uCmdList_t;
45 typedef phNfc_sRemoteDevInformation_t phHal_sRemoteDevInformation_t;
46 typedef phNfc_sRemoteDevInformation_t phLibNfc_sRemoteDevInformation_t;
47 #endif /* PHNFCTYPES_MAPPING_H_ */
48