This file is indexed.

/usr/include/ni/XnPlatform.h is in libopenni-dev 1.5.4.0-14+b1.

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
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
/****************************************************************************
*                                                                           *
*  OpenNI 1.x Alpha                                                         *
*  Copyright (C) 2011 PrimeSense Ltd.                                       *
*                                                                           *
*  This file is part of OpenNI.                                             *
*                                                                           *
*  OpenNI is free software: you can redistribute it and/or modify           *
*  it under the terms of the GNU Lesser General Public License as published *
*  by the Free Software Foundation, either version 3 of the License, or     *
*  (at your option) any later version.                                      *
*                                                                           *
*  OpenNI is distributed in the hope that it will be useful,                *
*  but WITHOUT ANY WARRANTY; without even the implied warranty of           *
*  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the             *
*  GNU Lesser General Public License for more details.                      *
*                                                                           *
*  You should have received a copy of the GNU Lesser General Public License *
*  along with OpenNI. If not, see <http://www.gnu.org/licenses/>.           *
*                                                                           *
****************************************************************************/
#ifndef __XN_PLATFORM_H__
#define __XN_PLATFORM_H__

//---------------------------------------------------------------------------
// Platform Defines
//---------------------------------------------------------------------------
#define XN_PLATFORM_WIN32 1
#define XN_PLATFORM_XBOX360 2
#define XN_PLATFORM_PS3 3
#define XN_PLATFORM_WII 4
#define XN_PLATFORM_LINUX_X86 5
#define XN_PLATFORM_FILES_ONLY 6
#define XN_PLATFORM_ARC 6
#define XN_PLATFORM_LINUX_ARM 7
#define XN_PLATFORM_MACOSX 8
#define XN_PLATFORM_ANDROID_ARM 9
#define XN_PLATFORM_LINUX_POWERPC 10
#define XN_PLATFORM_LINUX_AARCH64 11
#define XN_PLATFORM_LINUX_MIPS 12

#define XN_PLATFORM_IS_LITTLE_ENDIAN 1
#define XN_PLATFORM_IS_BIG_ENDIAN    2

#define XN_PLATFORM_USE_NO_VAARGS 1
#define XN_PLATFORM_USE_WIN32_VAARGS_STYLE 2
#define XN_PLATFORM_USE_GCC_VAARGS_STYLE   3
#define XN_PLATFORM_USE_ARC_VAARGS_STYLE   4

//---------------------------------------------------------------------------
// Platform Identifier 
//---------------------------------------------------------------------------

#if defined(_WIN32) // Microsoft Visual Studio
	#ifndef RC_INVOKED
		#if _MSC_VER < 1300 // Before MSVC7 (2003)
			#error Xiron Platform Abstraction Layer - Win32 - Microsoft Visual Studio versions below 2003 (7.0) are not supported!
		#endif

		#if _MSC_VER > 1600 // After MSVC8 (2010)
			#error Xiron Platform Abstraction Layer - Win32 - Microsoft Visual Studio versions above 2010 (10.0) are not supported!
		#endif
	#endif

	#include "Win32/XnPlatformWin32.h"
#elif defined(ANDROID) && defined(__arm__)
	#include "Android-Arm/XnPlatformAndroid-Arm.h"
#elif (__linux__ && (i386 || __x86_64__))
	#include "Linux-x86/XnPlatformLinux-x86.h"
#elif (__linux__ && __arm__)
	#include "Linux-Arm/XnPlatformLinux-Arm.h"
#elif (__linux__ && __aarch64__)
	#include "Linux-AArch64/XnPlatformLinux-AArch64.h"
#elif (__linux__ && __powerpc__)
	#include "Linux-Powerpc/XnPlatformLinux-Powerpc.h"
#elif (__linux__ && __mips__)
	#include "Linux-Mips/XnPlatformLinux-Mips.h"
#elif _ARC
	#include "ARC/XnPlatformARC.h"
#elif (__APPLE__)
	#include "MacOSX/XnPlatformMacOSX.h"
#else
	#error OpenNI Platform Abstraction Layer - Unsupported Platform!
#endif

//---------------------------------------------------------------------------
// Basic Common Macros
//---------------------------------------------------------------------------
#ifndef TRUE
	#define TRUE 1
#endif

#ifndef FALSE
	#define FALSE 0
#endif

#define XN_MIN(a,b)            (((a) < (b)) ? (a) : (b))

#define XN_MAX(a,b)            (((a) > (b)) ? (a) : (b))

typedef void (*XnFuncPtr)();

#define XN_COMPILER_ASSERT(x) typedef int compileAssert[x ? 1 : -1]

struct XnRegistrationHandleImpl;
typedef struct XnRegistrationHandleImpl* XnRegistrationHandle;

//---------------------------------------------------------------------------
// API Export/Import Macros
//---------------------------------------------------------------------------

#ifdef __cplusplus
	#define XN_C_API_EXPORT extern "C" XN_API_EXPORT
	#define XN_C_API_IMPORT extern "C" XN_API_IMPORT
	#define XN_CPP_API_EXPORT XN_API_EXPORT
	#define XN_CPP_API_IMPORT XN_API_IMPORT
#else
	#define XN_C_API_EXPORT XN_API_EXPORT
	#define XN_C_API_IMPORT XN_API_IMPORT
#endif

#ifdef XN_EXPORTS
	#define XN_C_API XN_C_API_EXPORT
	#define XN_CPP_API XN_CPP_API_EXPORT
#else
	#define XN_C_API XN_C_API_IMPORT
	#define XN_CPP_API XN_CPP_API_IMPORT
#endif

#endif //__XN_PLATFORM_H__