ViewVC Help
View File | Revision Log | View Changeset | Root Listing
root/Oni2/Daodan/MSYS2/mingw32/i686-w64-mingw32/include/qospol.h
Revision: 1166
Committed: Tue Oct 26 14:22:36 2021 UTC (4 years ago) by rossy
Content type: text/x-chdr
File size: 1028 byte(s)
Log Message:
Daodan: Replace MinGW build env with an up-to-date MSYS2 env

File Contents

# Content
1 /**
2 * This file has no copyright assigned and is placed in the Public Domain.
3 * This file is part of the mingw-w64 runtime package.
4 * No warranty is given; refer to the file DISCLAIMER.PD within this package.
5 */
6 #ifndef __QOSPOL_H_
7 #define __QOSPOL_H_
8
9 #define PE_TYPE_APPID 3
10
11 #define PE_ATTRIB_TYPE_POLICY_LOCATOR 1
12 #define PE_ATTRIB_TYPE_CREDENTIAL 2
13
14 #define POLICY_LOCATOR_SUB_TYPE_ASCII_DN 1
15 #define POLICY_LOCATOR_SUB_TYPE_UNICODE_DN 2
16 #define POLICY_LOCATOR_SUB_TYPE_ASCII_DN_ENC 3
17 #define POLICY_LOCATOR_SUB_TYPE_UNICODE_DN_ENC 4
18
19 #define CREDENTIAL_SUB_TYPE_ASCII_ID 1
20 #define CREDENTIAL_SUB_TYPE_UNICODE_ID 2
21 #define CREDENTIAL_SUB_TYPE_KERBEROS_TKT 3
22 #define CREDENTIAL_SUB_TYPE_X509_V3_CERT 4
23 #define CREDENTIAL_SUB_TYPE_PGP_CERT 5
24
25 typedef struct _IDPE_ATTR {
26 USHORT PeAttribLength;
27 UCHAR PeAttribType;
28 UCHAR PeAttribSubType;
29 UCHAR PeAttribValue[4];
30 } IDPE_ATTR,*LPIDPE_ATTR;
31
32 #define IDPE_ATTR_HDR_LEN (sizeof(USHORT)+sizeof(UCHAR)+sizeof(UCHAR))
33 #define RSVP_BYTE_MULTIPLE(x) (((x+3) / 4)*4)
34
35 #endif