|
| static BOOL | tsg_stream_align (wLog *log, wStream *s, size_t align) |
| |
| static const char * | tsg_packet_id_to_string (UINT32 packetId) |
| |
| static const char * | tsg_component_id_to_string (UINT16 ComponentId, char *buffer, size_t bytelen) |
| |
| static const char * | tsg_state_to_string (TSG_STATE state) |
| |
| static BOOL | TsProxyReadTunnelContext (wLog *log, wStream *s, CONTEXT_HANDLE *tunnelContext) |
| |
| static BOOL | TsProxyWriteTunnelContext (wLog *log, wStream *s, const CONTEXT_HANDLE *tunnelContext) |
| |
| static BOOL | tsg_ndr_pointer_write (wLog *log, wStream *s, UINT32 *index, DWORD length) |
| |
| static BOOL | tsg_ndr_pointer_read (wLog *log, wStream *s, UINT32 *index, UINT32 *ptrval, BOOL required) |
| |
| static BOOL | tsg_ndr_write_string (wLog *log, wStream *s, const WCHAR *str, UINT32 length) |
| |
| static BOOL | tsg_ndr_read_string (wLog *log, wStream *s, WCHAR **str, UINT32 lengthInBytes) |
| |
| static BOOL | tsg_ndr_read_packet_header (wLog *log, wStream *s, TSG_PACKET_HEADER *header) |
| |
| static BOOL | tsg_ndr_write_packet_header (wLog *log, wStream *s, const TSG_PACKET_HEADER *header) |
| |
| static BOOL | tsg_ndr_read_nap (wLog *log, wStream *s, TSG_CAPABILITY_NAP *nap) |
| |
| static BOOL | tsg_ndr_write_nap (wLog *log, wStream *s, const TSG_CAPABILITY_NAP *nap) |
| |
| static BOOL | tsg_ndr_read_tsg_caps (wLog *log, wStream *s, TSG_PACKET_CAPABILITIES *caps) |
| |
| static BOOL | tsg_ndr_write_tsg_caps (wLog *log, wStream *s, const TSG_PACKET_CAPABILITIES *caps) |
| |
| static BOOL | tsg_ndr_read_version_caps (wLog *log, wStream *s, UINT32 *index, TSG_PACKET_VERSIONCAPS *caps) |
| |
| static BOOL | tsg_ndr_write_version_caps (wLog *log, wStream *s, UINT32 *index, const TSG_PACKET_VERSIONCAPS *caps) |
| |
| static BOOL | tsg_ndr_read_quarenc_response (wLog *log, wStream *s, UINT32 *index, TSG_PACKET_QUARENC_RESPONSE *quarenc) |
| |
| static BOOL | tsg_ndr_read_quarenc_data (wLog *log, wStream *s, UINT32 *index, TSG_PACKET_QUARENC_RESPONSE *quarenc) |
| |
| static BOOL | tsg_ndr_write_auth (wLog *log, wStream *s, UINT32 *index, const TSG_PACKET_AUTH *auth) |
| |
| static BOOL | tsg_ndr_write_reauth (wLog *log, wStream *s, UINT32 *index, const TSG_PACKET_REAUTH *auth) |
| |
| static BOOL | tsg_ndr_read_packet_response (wLog *log, wStream *s, UINT32 *index, TSG_PACKET_RESPONSE *response) |
| |
| static BOOL | tsg_print (char **buffer, size_t *len, WINPR_FORMAT_ARG const char *fmt,...) |
| |
| static BOOL | tsg_packet_header_to_string (char **buffer, size_t *length, const TSG_PACKET_HEADER *header) |
| |
| static BOOL | tsg_type_capability_nap_to_string (char **buffer, size_t *length, const TSG_CAPABILITY_NAP *cur) |
| |
| static BOOL | tsg_packet_capabilities_to_string (char **buffer, size_t *length, const TSG_PACKET_CAPABILITIES *caps, UINT32 numCaps) |
| |
| static BOOL | tsg_packet_versioncaps_to_string (char **buffer, size_t *length, const TSG_PACKET_VERSIONCAPS *caps) |
| |
| static BOOL | tsg_packet_quarconfigrequest_to_string (char **buffer, size_t *length, const TSG_PACKET_QUARCONFIGREQUEST *caps) |
| |
| static BOOL | tsg_packet_quarrequest_to_string (char **buffer, size_t *length, const TSG_PACKET_QUARREQUEST *caps) |
| |
| static const char * | tsg_bool_to_string (BOOL val) |
| |
| static const char * | tsg_redirection_flags_to_string (char *buffer, size_t size, const TSG_REDIRECTION_FLAGS *flags) |
| |
| static BOOL | tsg_packet_response_to_string (char **buffer, size_t *length, const TSG_PACKET_RESPONSE *caps) |
| |
| static BOOL | tsg_packet_quarenc_response_to_string (char **buffer, size_t *length, const TSG_PACKET_QUARENC_RESPONSE *caps) |
| |
| static BOOL | tsg_packet_message_response_to_string (char **buffer, size_t *length, const TSG_PACKET_MSG_RESPONSE *caps) |
| |
| static BOOL | tsg_packet_caps_response_to_string (char **buffer, size_t *length, const TSG_PACKET_CAPS_RESPONSE *caps) |
| |
| static BOOL | tsg_packet_message_request_to_string (char **buffer, size_t *length, const TSG_PACKET_MSG_REQUEST *caps) |
| |
| static BOOL | tsg_packet_auth_to_string (char **buffer, size_t *length, const TSG_PACKET_AUTH *caps) |
| |
| static BOOL | tsg_packet_reauth_to_string (char **buffer, size_t *length, const TSG_PACKET_REAUTH *caps) |
| |
| static const char * | tsg_packet_to_string (const TSG_PACKET *packet) |
| |
| static BIO_METHOD * | BIO_s_tsg (void) |
| |
| static int | TsProxySendToServer (handle_t IDL_handle, const byte pRpcMessage[], UINT32 count, const UINT32 *lengths) |
| |
| static BOOL | TsProxyCreateTunnelWriteRequest (rdpTsg *tsg, const TSG_PACKET *tsgPacket) |
| |
| static BOOL | tsg_ndr_read_consent_message (wLog *log, rdpContext *context, wStream *s, UINT32 *index) |
| |
| static BOOL | tsg_ndr_read_tunnel_context (wLog *log, wStream *s, CONTEXT_HANDLE *tunnelContext, UINT32 *tunnelId) |
| |
| static BOOL | tsg_ndr_read_caps_response (wLog *log, rdpContext *context, wStream *s, UINT32 *index, UINT32 PacketPtr, TSG_PACKET_CAPS_RESPONSE *caps, CONTEXT_HANDLE *tunnelContext, UINT32 *tunnelId) |
| |
| static BOOL | TsProxyCreateTunnelReadResponse (rdpTsg *tsg, const RPC_PDU *pdu, CONTEXT_HANDLE *tunnelContext, UINT32 *tunnelId) |
| |
| static BOOL | TsProxyAuthorizeTunnelWriteRequest (rdpTsg *tsg, CONTEXT_HANDLE *tunnelContext) |
| |
| static UINT32 | tsg_redir_to_flags (const TSG_REDIRECTION_FLAGS *redirect) |
| |
| static BOOL | tsg_redirect_apply (rdpTsg *tsg, const TSG_REDIRECTION_FLAGS *redirect) |
| |
| static BOOL | TsProxyAuthorizeTunnelReadResponse (rdpTsg *tsg, const RPC_PDU *pdu) |
| |
| static BOOL | TsProxyMakeTunnelCallWriteRequest (rdpTsg *tsg, CONTEXT_HANDLE *tunnelContext, UINT32 procId) |
| |
| static BOOL | TsProxyReadPacketSTringMessage (rdpTsg *tsg, wStream *s, TSG_PACKET_STRING_MESSAGE *msg) |
| |
| static BOOL | TsProxyMakeTunnelCallReadResponse (rdpTsg *tsg, const RPC_PDU *pdu) |
| |
| static BOOL | TsProxyCreateChannelWriteRequest (rdpTsg *tsg, CONTEXT_HANDLE *tunnelContext) |
| |
| static BOOL | TsProxyCreateChannelReadResponse (wLog *log, const RPC_PDU *pdu, CONTEXT_HANDLE *channelContext, UINT32 *channelId) |
| |
| static BOOL | TsProxyCloseChannelWriteRequest (rdpTsg *tsg, CONTEXT_HANDLE *context) |
| |
| static BOOL | TsProxyCloseChannelReadResponse (wLog *log, const RPC_PDU *pdu, CONTEXT_HANDLE *context) |
| |
| static BOOL | TsProxyCloseTunnelWriteRequest (rdpTsg *tsg, const CONTEXT_HANDLE *context) |
| |
| static BOOL | TsProxyCloseTunnelReadResponse (wLog *log, const RPC_PDU *pdu, CONTEXT_HANDLE *context) |
| |
| static BOOL | TsProxySetupReceivePipeWriteRequest (rdpTsg *tsg, const CONTEXT_HANDLE *channelContext) |
| |
| static BOOL | tsg_transition_to_state (rdpTsg *tsg, TSG_STATE state) |
| |
| static BOOL | tsg_initialize_version_caps (TSG_PACKET_VERSIONCAPS *packetVersionCaps) |
| |
| BOOL | tsg_proxy_begin (rdpTsg *tsg) |
| |
| static BOOL | tsg_proxy_reauth (rdpTsg *tsg) |
| |
| BOOL | tsg_recv_pdu (rdpTsg *tsg, const RPC_PDU *pdu) |
| |
| BOOL | tsg_check_event_handles (rdpTsg *tsg) |
| |
| DWORD | tsg_get_event_handles (rdpTsg *tsg, HANDLE *events, DWORD count) |
| |
| static BOOL | tsg_set_hostname (rdpTsg *tsg, const char *hostname) |
| |
| static BOOL | tsg_set_machine_name (rdpTsg *tsg, const char *machineName) |
| |
| BOOL | tsg_connect (rdpTsg *tsg, const char *hostname, UINT16 port, DWORD timeout) |
| |
| BOOL | tsg_disconnect (rdpTsg *tsg) |
| |
| static int | tsg_read (rdpTsg *tsg, BYTE *data, size_t length) |
| | Read data from TSG. More...
|
| |
| static int | tsg_write (rdpTsg *tsg, const BYTE *data, UINT32 length) |
| |
| rdpTsg * | tsg_new (rdpTransport *transport) |
| |
| void | tsg_free (rdpTsg *tsg) |
| |
| static int | transport_bio_tsg_write (BIO *bio, const char *buf, int num) |
| |
| static int | transport_bio_tsg_read (BIO *bio, char *buf, int size) |
| |
| static int | transport_bio_tsg_puts (BIO *bio, const char *str) |
| |
| static int | transport_bio_tsg_gets (BIO *bio, char *str, int size) |
| |
| static long | transport_bio_tsg_ctrl (BIO *bio, int cmd, long arg1, void *arg2) |
| |
| static int | transport_bio_tsg_new (BIO *bio) |
| |
| static int | transport_bio_tsg_free (BIO *bio) |
| |
| TSG_STATE | tsg_get_state (rdpTsg *tsg) |
| |
| BIO * | tsg_get_bio (rdpTsg *tsg) |
| |
| BOOL | tsg_set_state (rdpTsg *tsg, TSG_STATE state) |
| |