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

File Contents

# Content
1 /**
2 * This file is part of the mingw-w64 runtime package.
3 * No warranty is given; refer to the file DISCLAIMER within this package.
4 */
5
6 #include <winapifamily.h>
7 #include <_mingw_unicode.h>
8
9 #if WINAPI_FAMILY_PARTITION (WINAPI_PARTITION_DESKTOP)
10
11 #ifndef NTLMSP_NAME_A
12 #define NTLMSP_NAME_A "NTLM"
13 #define NTLMSP_NAME L"NTLM"
14 #endif
15
16 #ifndef MICROSOFT_KERBEROS_NAME_A
17 #define MICROSOFT_KERBEROS_NAME_A "Kerberos"
18 #define MICROSOFT_KERBEROS_NAME_W L"Kerberos"
19 #ifdef WIN32_CHICAGO
20 #define MICROSOFT_KERBEROS_NAME MICROSOFT_KERBEROS_NAME_A
21 #else
22 #define MICROSOFT_KERBEROS_NAME MICROSOFT_KERBEROS_NAME_W
23 #endif
24 #endif
25
26 #ifndef NEGOSSP_NAME
27 #define NEGOSSP_NAME_W L"Negotiate"
28 #define NEGOSSP_NAME_A "Negotiate"
29
30 #define NEGOSSP_NAME __MINGW_NAME_UAW(NEGOSSP_NAME)
31 #endif
32
33 #ifndef CLOUDAP_NAME
34 #define CLOUDAP_NAME_W L"CloudAP"
35 #define ClOUDAP_NAME_A "CloudAP"
36
37 #define CLOUDAP_NAME __MINGW_NAME_UAW(CLOUDAP_NAME)
38 #endif
39
40 #include <sspi.h>
41
42 #if defined (SECURITY_WIN32) || defined (SECURITY_KERNEL)
43 #include <secext.h>
44 #endif
45
46 #if ISSP_LEVEL == 16
47 #include <issper16.h>
48 #endif
49
50 #endif /* WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP) */