FreeRDP
libwinpr/sspi/Schannel/schannel.h
1 
20 #ifndef WINPR_SSPI_SCHANNEL_PRIVATE_H
21 #define WINPR_SSPI_SCHANNEL_PRIVATE_H
22 
23 #include <winpr/sspi.h>
24 #include <winpr/schannel.h>
25 
26 #include "../sspi.h"
27 
28 #include "schannel_openssl.h"
29 
30 typedef struct
31 {
32  SCHANNEL_CRED cred;
33  ULONG fCredentialUse;
35 
36 typedef struct
37 {
38  BOOL server;
39  SCHANNEL_CRED cred;
40  SCHANNEL_OPENSSL* openssl;
42 
43 SCHANNEL_CONTEXT* schannel_ContextNew(void);
44 void schannel_ContextFree(SCHANNEL_CONTEXT* context);
45 
46 extern const SecPkgInfoA SCHANNEL_SecPkgInfoA;
47 extern const SecPkgInfoW SCHANNEL_SecPkgInfoW;
48 extern const SecurityFunctionTableA SCHANNEL_SecurityFunctionTableA;
49 extern const SecurityFunctionTableW SCHANNEL_SecurityFunctionTableW;
50 
51 BOOL SCHANNEL_init(void);
52 
53 #endif /* WINPR_SSPI_SCHANNEL_PRIVATE_H */