FreeRDP
Loading...
Searching...
No Matches
negotiate.h
1
20
#ifndef WINPR_SSPI_NEGOTIATE_PRIVATE_H
21
#define WINPR_SSPI_NEGOTIATE_PRIVATE_H
22
23
#include <winpr/sspi.h>
24
25
#include "../sspi.h"
26
27
#define NTLM_OID "1.3.6.1.4.1.311.2.2.10"
28
29
typedef
enum
30
{
31
NEGOTIATE_STATE_INITIAL,
32
NEGOTIATE_STATE_FINAL_OPTIMISTIC,
33
NEGOTIATE_STATE_NEGORESP,
34
NEGOTIATE_STATE_MIC,
35
NEGOTIATE_STATE_FINAL,
36
} NEGOTIATE_STATE;
37
38
typedef
struct
Mech_st Mech;
39
40
typedef
struct
41
{
42
NEGOTIATE_STATE state;
43
CtxtHandle
sub_context;
44
SecBuffer
mechTypes;
45
const
Mech* mech;
46
BOOL mic;
47
BOOL spnego;
48
}
NEGOTIATE_CONTEXT
;
49
50
extern
const
SecPkgInfoA
NEGOTIATE_SecPkgInfoA;
51
extern
const
SecPkgInfoW
NEGOTIATE_SecPkgInfoW;
52
extern
const
SecurityFunctionTableA
NEGOTIATE_SecurityFunctionTableA;
53
extern
const
SecurityFunctionTableW
NEGOTIATE_SecurityFunctionTableW;
54
55
BOOL NEGOTIATE_init(
void
);
56
57
#endif
/* WINPR_SSPI_NEGOTIATE_PRIVATE_H */
NEGOTIATE_CONTEXT
Definition
negotiate.h:41
SecBuffer
Definition
include/winpr/sspi.h:834
SecHandle
Definition
include/winpr/sspi.h:815
SecPkgInfoA
Definition
include/winpr/sspi.h:70
SecPkgInfoW
Definition
include/winpr/sspi.h:81
SecurityFunctionTableA
Definition
include/winpr/sspi.h:1124
SecurityFunctionTableW
Definition
include/winpr/sspi.h:1158
winpr
libwinpr
sspi
Negotiate
negotiate.h
Generated by
1.9.8