This file is indexed.

/usr/include/android-22/libnfc-nxp/phLibNfc_ioctl.h is in android-headers-22 23-0ubuntu4.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
/*
 * Copyright (C) 2010 NXP Semiconductors
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

/*!
*\file  phLibNfc_ioctl.h
*\brief Contains LibNfc IOCTL details.
*Project:   NFC-FRI 1.1
* $Workfile:: phLibNfc_ioctl.h $
* $Modtime::          $
* $Author: ing07299 $
* $Revision: 1.9 $
* $Aliases: NFC_FRI1.1_WK949_PREP1,NFC_FRI1.1_WK949_SDK_INT,NFC_FRI1.1_WK943_R32_10,NFC_FRI1.1_WK943_R32_13,NFC_FRI1.1_WK1003_SDK,NFC_FRI1.1_WK943_R32_14,NFC_FRI1.1_WK1007_R33_1,NFC_FRI1.1_WK1008_SDK,NFC_FRI1.1_WK1007_R33_4,NFC_FRI1.1_WK1007_SDK,NFC_FRI1.1_WK1014_SDK,NFC_FRI1.1_WK1017_PREP1,NFC_FRI1.1_WK1017_R34_1,NFC_FRI1.1_WK1017_R34_2,NFC_FRI1.1_WK1019_SDK,NFC_FRI1.1_WK1024_SDK $
*\defgroup grp_lib_ioctl IOCTL code details
*/


#ifndef PHLIBNFCIOCTL_H /* */
#define PHLIBNFCIOCTL_H /* */

#include <phNfcIoctlCode.h>
#include<phLibNfc.h>

/**
* \ingroup  grp_lib_ioctl
* \brief   Allows to initiate firmware download to connected PN544
*
*/
#define PHLIBNFC_FW_DOWNLOAD    NFC_FW_DOWNLOAD
/**
* \ingroup  grp_lib_ioctl
* \brief   Allows to read memory from connected PN544 .  
*
*/
#define PHLIBNFC_MEM_READ       NFC_MEM_READ

/**
* \ingroup  grp_lib_ioctl
* \brief   Allows to write PN544 memory.  
*
*/
#define PHLIBNFC_MEM_WRITE      NFC_MEM_WRITE

/**
* \ingroup  grp_lib_ioctl
* \brief   Allows to do Antenna test.  
*
*/
#define	PHLIBNFC_ANTENNA_TEST    DEVMGMT_ANTENNA_TEST			
/**
* \ingroup  grp_lib_ioctl
* \brief   Allows to do SWP test.  
*
*/
#define	PHLIBNFC_SWP_TEST		 DEVMGMT_SWP_TEST								
/**
* \ingroup  grp_lib_ioctl
* \brief   Allows to do PRBS test.  
*
*/
#define	PHLIBNFC_PRBS_TEST       DEVMGMT_PRBS_TEST					

/**
* \ingroup  grp_lib_ioctl
* \brief   Allows to switch UICC mode.  
*
*/
#define	PHLIBNFC_SWITCH_SWP_MODE   NFC_SWITCH_SWP_MODE

typedef struct
{
  void                          *pCliCntx;
  pphLibNfc_IoctlCallback_t     CliRspCb;
  phHal_sHwReference_t          *psHwReference;
  phNfc_sData_t*                pOutParam;
  uint16_t                      IoctlCode;
}phLibNfc_Ioctl_Cntx_t;

#endif /* PHLIBNFCIOCTL_H */