21 #ifndef FREERDP_TYPES_H
22 #define FREERDP_TYPES_H
24 #include <winpr/wtypes.h>
25 #include <winpr/wtsapi.h>
28 #define MIN(x, y) (((x) < (y)) ? (x) : (y))
32 #define MAX(x, y) (((x) > (y)) ? (x) : (y))
42 CONNECTION_STATE_INITIAL,
43 CONNECTION_STATE_NEGO,
46 CONNECTION_STATE_MCS_CREATE_REQUEST,
47 CONNECTION_STATE_MCS_CREATE_RESPONSE,
48 CONNECTION_STATE_MCS_ERECT_DOMAIN,
49 CONNECTION_STATE_MCS_ATTACH_USER,
50 CONNECTION_STATE_MCS_ATTACH_USER_CONFIRM,
51 CONNECTION_STATE_MCS_CHANNEL_JOIN_REQUEST,
52 CONNECTION_STATE_MCS_CHANNEL_JOIN_RESPONSE,
53 CONNECTION_STATE_RDP_SECURITY_COMMENCEMENT,
54 CONNECTION_STATE_SECURE_SETTINGS_EXCHANGE,
55 CONNECTION_STATE_CONNECT_TIME_AUTO_DETECT_REQUEST,
56 CONNECTION_STATE_CONNECT_TIME_AUTO_DETECT_RESPONSE,
57 CONNECTION_STATE_LICENSING,
58 CONNECTION_STATE_MULTITRANSPORT_BOOTSTRAPPING_REQUEST,
59 CONNECTION_STATE_MULTITRANSPORT_BOOTSTRAPPING_RESPONSE,
60 CONNECTION_STATE_CAPABILITIES_EXCHANGE_DEMAND_ACTIVE,
61 CONNECTION_STATE_CAPABILITIES_EXCHANGE_MONITOR_LAYOUT,
62 CONNECTION_STATE_CAPABILITIES_EXCHANGE_CONFIRM_ACTIVE,
63 CONNECTION_STATE_FINALIZATION_SYNC,
64 CONNECTION_STATE_FINALIZATION_COOPERATE,
65 CONNECTION_STATE_FINALIZATION_REQUEST_CONTROL,
66 CONNECTION_STATE_FINALIZATION_PERSISTENT_KEY_LIST,
67 CONNECTION_STATE_FINALIZATION_FONT_LIST,
68 CONNECTION_STATE_FINALIZATION_CLIENT_SYNC,
69 CONNECTION_STATE_FINALIZATION_CLIENT_COOPERATE,
70 CONNECTION_STATE_FINALIZATION_CLIENT_GRANTED_CONTROL,
71 CONNECTION_STATE_FINALIZATION_CLIENT_FONT_MAP,
72 CONNECTION_STATE_ACTIVE
79 typedef struct rdp_transport rdpTransport;
127 RDP_TRANSPORT_TCP = 0,
130 } RDP_TRANSPORT_TYPE;
138 #include <freerdp/message.h>
139 #include <winpr/collections.h>