First add
[adaptation/devices/nfc-plugin-nxp.git] / src / phLibNfc_initiator.h
1 /*\r
2  * Copyright (C) 2010 NXP Semiconductors\r
3  *\r
4  * Licensed under the Apache License, Version 2.0 (the "License");\r
5  * you may not use this file except in compliance with the License.\r
6  * You may obtain a copy of the License at\r
7  *\r
8  *      http://www.apache.org/licenses/LICENSE-2.0\r
9  *\r
10  * Unless required by applicable law or agreed to in writing, software\r
11  * distributed under the License is distributed on an "AS IS" BASIS,\r
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
13  * See the License for the specific language governing permissions and\r
14  * limitations under the License.\r
15  */\r
16 \r
17 /*!\r
18  * \file  phLibNfc_initiator.h\r
19  *\r
20  * Project: NFC-FRI 1.1\r
21  *\r
22  * $Workfile:: phLibNfc_1.1.h  $\r
23  * $Modtime::         $\r
24  * $Author: ing07299 $\r
25  * $Revision: 1.13 $\r
26  *\r
27  */\r
28 #ifndef PHLIBNFC_INITIATOR_H\r
29 #define PHLIBNFC_INITIATOR_H\r
30 \r
31 typedef struct phLibNfc_NfcIpInfo\r
32 {\r
33     phNfc_sData_t                *p_recv_data;\r
34     uint32_t                     recv_index;\r
35      /*NFC-IP Call back & it's context*/\r
36     pphLibNfc_RspCb_t            pClientNfcIpCfgCb;\r
37     void                         *pClientNfcIpCfgCntx;  \r
38     /*NFC-IP send callback and its context*/\r
39     pphLibNfc_RspCb_t            pClientNfcIpTxCb;\r
40     void                         *pClientNfcIpTxCntx;\r
41 \r
42     /*NFC-IP receive callback and its context*/\r
43     pphLibNfc_Receive_RspCb_t    pClientNfcIpRxCb;\r
44     void                         *pClientNfcIpRxCntx;\r
45     /*Store the role of remote device*/\r
46     phHal4Nfc_TransactInfo_t     TransactInfoRole;\r
47 \r
48     /*NFC IP remote initator handle */\r
49     uint32_t                     Rem_Initiator_Handle;\r
50 \r
51 }phLibNfc_NfcIpInfo_t;\r
52 \r
53 \r
54 #endif\r
55 \r
56 \r