Last change
on this file since 1171 was 1166, checked in by rossy, 3 years ago |
Daodan: Replace MinGW build env with an up-to-date MSYS2 env
|
File size:
1.0 KB
|
Rev | Line | |
---|
[1166] | 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
|
---|
Note:
See
TracBrowser
for help on using the repository browser.