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 21 typedef phNfc_sData_t phHal_sData_t; 22 typedef phNfc_sSupProtocol_t phHal_sSupProtocol_t; 23 #define phHal_eMifareRaw phNfc_eMifareRaw 24 #define phHal_eMifareAuthentA phNfc_eMifareAuthentA 25 #define phHal_eMifareAuthentB phNfc_eMifareAuthentB 26 #define phHal_eMifareRead16 phNfc_eMifareRead16 27 #define phHal_eMifareRead phNfc_eMifareRead 28 #define phHal_eMifareWrite16 phNfc_eMifareWrite16 29 #define phHal_eMifareWrite4 phNfc_eMifareWrite4 30 #define phHal_eMifareInc phNfc_eMifareInc 31 #define phHal_eMifareDec phNfc_eMifareDec 32 #define phHal_eMifareTransfer phNfc_eMifareTransfer 33 #define phHal_eMifareRestore phNfc_eMifareRestore 34 #define phHal_eMifareReadSector phNfc_eMifareReadSector 35 #define phHal_eMifareWriteSector phNfc_eMifareWriteSector 36 #define phHal_eMifareReadN phNfc_eMifareReadN 37 #define phHal_eMifareWriteN phNfc_eMifareWriteN 38 #define phHal_eMifareSectorSel phNfc_eMifareSectorSel 39 #define phHal_eMifareAuth phNfc_eMifareAuth 40 #define phHal_eMifareProxCheck phNfc_eMifareProxCheck 41 #define phHal_eMifareInvalidCmd phNfc_eMifareInvalidCmd 42 43 typedef phNfc_eMifareCmdList_t phHal_eMifareCmdList_t; 44 45 typedef phNfc_uCmdList_t phHal_uCmdList_t; 46 typedef phNfc_sRemoteDevInformation_t phHal_sRemoteDevInformation_t; 47 typedef phNfc_sRemoteDevInformation_t phLibNfc_sRemoteDevInformation_t; 48 #endif /* PHNFCTYPES_MAPPING_H_ */ 49