FreeRDP
rpc_bind.h
1 
20 #ifndef FREERDP_LIB_CORE_GATEWAY_RPC_BIND_H
21 #define FREERDP_LIB_CORE_GATEWAY_RPC_BIND_H
22 
23 #include "rpc.h"
24 
25 #include <winpr/wtypes.h>
26 #include <freerdp/api.h>
27 
28 FREERDP_LOCAL extern const p_uuid_t TSGU_UUID;
29 #define TSGU_SYNTAX_IF_VERSION 0x00030001
30 
31 FREERDP_LOCAL extern const p_uuid_t NDR_UUID;
32 #define NDR_SYNTAX_IF_VERSION 0x00000002
33 
34 FREERDP_LOCAL extern const p_uuid_t BTFN_UUID;
35 #define BTFN_SYNTAX_IF_VERSION 0x00000001
36 
37 enum RPC_BIND_STATE
38 {
39  RPC_BIND_STATE_INCOMPLETE,
40  RPC_BIND_STATE_LAST_LEG,
41  RPC_BIND_STATE_COMPLETE
42 };
43 
44 FREERDP_LOCAL int rpc_send_bind_pdu(rdpRpc* rpc, BOOL initial);
45 FREERDP_LOCAL BOOL rpc_recv_bind_ack_pdu(rdpRpc* rpc, wStream* s);
46 FREERDP_LOCAL int rpc_send_rpc_auth_3_pdu(rdpRpc* rpc);
47 FREERDP_LOCAL enum RPC_BIND_STATE rpc_bind_state(rdpRpc* rpc);
48 FREERDP_LOCAL BYTE rpc_auth_pkg_to_security_provider(const char* name);
49 
50 #endif /* FREERDP_LIB_CORE_GATEWAY_RPC_BIND_H */