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 #include <sspi.h> 34 35 #if defined (SECURITY_WIN32) || defined (SECURITY_KERNEL) 36 #include <secext.h> 37 #endif 38 39 #if ISSP_LEVEL == 16 40 #include <issper16.h> 41 #endif 42 #endif 43