/usr/include/libfwnt/definitions.h is in libfwnt-dev 20170115-1.
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 | /*
* Definitions for libfwnt
*
* Copyright (C) 2009-2017, Joachim Metz <joachim.metz@gmail.com>
*
* Refer to AUTHORS for acknowledgements.
*
* This software 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.
*
* This software 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 General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with this software. If not, see <http://www.gnu.org/licenses/>.
*/
#if !defined( _LIBFWNT_DEFINITIONS_H )
#define _LIBFWNT_DEFINITIONS_H
#include <libfwnt/types.h>
#define LIBFWNT_VERSION 20170115
/* The version string
*/
#define LIBFWNT_VERSION_STRING "20170115"
/* The byte order definitions
*/
enum LIBFWNT_ENDIAN
{
LIBFWNT_ENDIAN_BIG = (int) 'b',
LIBFWNT_ENDIAN_LITTLE = (int) 'l'
};
/* The security identifier (SID) authorities
*/
enum LIBFWNT_SECURITY_IDENTIFIER_AUTHORITIES
{
LIBFWNT_AUTHORITY_NULL = 0x00,
LIBFWNT_AUTHORITY_WORLD = 0x01,
LIBFWNT_AUTHORITY_LOCAL = 0x02,
LIBFWNT_AUTHORITY_CREATOR = 0x03,
LIBFWNT_AUTHORITY_NON_UNIQUE = 0x04,
LIBFWNT_AUTHORITY_NT_AUTHORITY = 0x05,
LIBFWNT_AUTHORITY_EXCHANGE_2007 = 0x09
};
/* The access control types
*/
enum LIBFWNT_ACCESS_CONTROL_TYPES
{
LIBFWNT_ACCESS_ALLOWED = 0x00,
LIBFWNT_ACCESS_DENIED = 0x01,
LIBFWNT_SYSTEM_AUDIT = 0x02,
LIBFWNT_SYSTEM_ALARM = 0x03,
LIBFWNT_ACCESS_ALLOWED_COMPOUND = 0x04,
LIBFWNT_ACCESS_ALLOWED_OBJECT = 0x05,
LIBFWNT_ACCESS_DENIED_OBJECT = 0x06,
LIBFWNT_SYSTEM_AUDIT_OBJECT = 0x07,
LIBFWNT_SYSTEM_ALARM_OBJECT = 0x08,
LIBFWNT_ACCESS_ALLOWED_CALLBACK = 0x09,
LIBFWNT_ACCESS_DENIED_CALLBACK = 0x0a,
LIBFWNT_ACCESS_ALLOWED_CALLBACK_OBJECT = 0x0b,
LIBFWNT_ACCESS_DENIED_CALLBACK_OBJECT = 0x0c,
LIBFWNT_SYSTEM_AUDIT_CALLBACK = 0x0d,
LIBFWNT_SYSTEM_ALARM_CALLBACK = 0x0e,
LIBFWNT_SYSTEM_AUDIT_CALLBACK_OBJECT = 0x0f,
LIBFWNT_SYSTEM_ALARM_CALLBACK_OBJECT = 0x10,
LIBFWNT_SYSTEM_MANDATORY_LABEL = 0x11
};
#endif /* !defined( _LIBFWNT_DEFINITIONS_H ) */
|