ViewVC Help
View File | Revision Log | View Changeset | Root Listing
root/Oni2/Daodan/MSYS2/mingw32/i686-w64-mingw32/include/credssp.h
Revision: 1166
Committed: Tue Oct 26 14:22:36 2021 UTC (4 years ago) by rossy
Content type: text/x-chdr
File size: 973 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 _INC_CREDSSP
7 #define _INC_CREDSSP
8
9 #if (_WIN32_WINNT >= 0x0600)
10
11 #ifdef __cplusplus
12 extern "C" {
13 #endif
14
15 typedef enum _CREDSSP_SUBMIT_TYPE {
16 CredsspPasswordCreds = 2,
17 CredsspSchannelCreds = 4,
18 CredsspCertificateCreds = 13,
19 CredsspSubmitBufferBoth = 50,
20 CredsspSubmitBufferBothOld = 51
21 } CREDSPP_SUBMIT_TYPE;
22
23 typedef struct _CREDSSP_CRED {
24 CREDSPP_SUBMIT_TYPE Type;
25 PVOID pSchannelCred;
26 PVOID pSpnegoCred;
27 } CREDSSP_CRED, *PCREDSSP_CRED;
28
29 typedef struct _SecPkgContext_ClientCreds {
30 ULONG AuthBufferLen;
31 PUCHAR AuthBuffer;
32 } SecPkgContext_ClientCreds, *PSecPkgContext_ClientCreds;
33
34 #ifdef __cplusplus
35 }
36 #endif
37
38 #endif /*(_WIN32_WINNT >= 0x0600)*/
39
40 #endif /*_INC_CREDSSP*/