|
static const char * | flags_to_string (UINT32 flags, const t_flag_mapping *map, size_t elements) |
|
static const char * | channel_response_fields_present_to_string (UINT16 fieldsPresent) |
|
static const char * | tunnel_response_fields_present_to_string (UINT16 fieldsPresent) |
|
static const char * | tunnel_authorization_response_fields_present_to_string (UINT16 fieldsPresent) |
|
static const char * | extended_auth_to_string (UINT16 auth) |
|
static const char * | capabilities_enum_to_string (UINT32 capabilities) |
|
static BOOL | rdg_read_http_unicode_string (wLog *log, wStream *s, const WCHAR **string, UINT16 *lengthInBytes) |
|
static BOOL | rdg_write_chunked (BIO *bio, wStream *sPacket) |
|
static BOOL | rdg_write_packet (rdpRdg *rdg, wStream *sPacket) |
|
static int | rdg_socket_read (BIO *bio, BYTE *pBuffer, size_t size, rdg_http_encoding_context *encodingContext) |
|
static BOOL | rdg_shall_abort (rdpRdg *rdg) |
|
static BOOL | rdg_read_all (rdpContext *context, rdpTls *tls, BYTE *buffer, size_t size, rdg_http_encoding_context *transferEncoding) |
|
static wStream * | rdg_receive_packet (rdpRdg *rdg) |
|
static BOOL | rdg_send_handshake (rdpRdg *rdg) |
|
static BOOL | rdg_send_extauth_sspi (rdpRdg *rdg) |
|
static BOOL | rdg_send_tunnel_request (rdpRdg *rdg) |
|
static BOOL | rdg_send_tunnel_authorization (rdpRdg *rdg) |
|
static BOOL | rdg_send_channel_create (rdpRdg *rdg) |
|
static BOOL | rdg_set_auth_header (rdpCredsspAuth *auth, HttpRequest *request) |
|
static wStream * | rdg_build_http_request (rdpRdg *rdg, const char *method, TRANSFER_ENCODING transferEncoding) |
|
static BOOL | rdg_recv_auth_token (wLog *log, rdpCredsspAuth *auth, HttpResponse *response) |
|
static BOOL | rdg_skip_seed_payload (rdpContext *context, rdpTls *tls, size_t lastResponseLength, rdg_http_encoding_context *transferEncoding) |
|
static BOOL | rdg_process_handshake_response (rdpRdg *rdg, wStream *s) |
|
static BOOL | rdg_process_tunnel_response_optional (rdpRdg *rdg, wStream *s, UINT16 fieldsPresent) |
|
static BOOL | rdg_process_tunnel_response (rdpRdg *rdg, wStream *s) |
|
static BOOL | rdg_process_tunnel_authorization_response (rdpRdg *rdg, wStream *s) |
|
static BOOL | rdg_process_extauth_sspi (rdpRdg *rdg, wStream *s) |
|
static BOOL | rdg_process_channel_response (rdpRdg *rdg, wStream *s) |
|
static BOOL | rdg_process_packet (rdpRdg *rdg, wStream *s) |
|
DWORD | rdg_get_event_handles (rdpRdg *rdg, HANDLE *events, DWORD count) |
|
static BOOL | rdg_get_gateway_credentials (rdpContext *context, rdp_auth_reason reason) |
|
static BOOL | rdg_auth_init (rdpRdg *rdg, rdpTls *tls, TCHAR *authPkg) |
|
static BOOL | rdg_send_http_request (rdpRdg *rdg, rdpTls *tls, const char *method, TRANSFER_ENCODING transferEncoding) |
|
static BOOL | rdg_tls_connect (rdpRdg *rdg, rdpTls *tls, const char *peerAddress, int timeout) |
|
static BOOL | rdg_establish_data_connection (rdpRdg *rdg, rdpTls *tls, const char *method, const char *peerAddress, int timeout, BOOL *rpcFallback) |
|
static BOOL | rdg_tunnel_connect (rdpRdg *rdg) |
|
BOOL | rdg_connect (rdpRdg *rdg, DWORD timeout, BOOL *rpcFallback) |
|
static int | rdg_write_websocket_data_packet (rdpRdg *rdg, const BYTE *buf, int isize) |
|
static int | rdg_write_chunked_data_packet (rdpRdg *rdg, const BYTE *buf, int isize) |
|
static int | rdg_write_data_packet (rdpRdg *rdg, const BYTE *buf, int isize) |
|
static BOOL | rdg_process_close_packet (rdpRdg *rdg, wStream *s) |
|
static BOOL | rdg_process_keep_alive_packet (rdpRdg *rdg) |
|
static BOOL | rdg_process_service_message (rdpRdg *rdg, wStream *s) |
|
static BOOL | rdg_process_unknown_packet (rdpRdg *rdg, int type) |
|
static BOOL | rdg_process_control_packet (rdpRdg *rdg, int type, size_t packetLength) |
|
static int | rdg_read_data_packet (rdpRdg *rdg, BYTE *buffer, int size) |
|
static int | rdg_bio_write (BIO *bio, const char *buf, int num) |
|
static int | rdg_bio_read (BIO *bio, char *buf, int size) |
|
static int | rdg_bio_puts (BIO *bio, const char *str) |
|
static int | rdg_bio_gets (BIO *bio, char *str, int size) |
|
static long | rdg_bio_ctrl (BIO *in_bio, int cmd, long arg1, void *arg2) |
|
static int | rdg_bio_new (BIO *bio) |
|
static int | rdg_bio_free (BIO *bio) |
|
static BIO_METHOD * | BIO_s_rdg (void) |
|
rdpRdg * | rdg_new (rdpContext *context) |
|
void | rdg_free (rdpRdg *rdg) |
|
BIO * | rdg_get_front_bio_and_take_ownership (rdpRdg *rdg) |
|
FreeRDP: A Remote Desktop Protocol Implementation Remote Desktop Gateway (RDG)
Copyright 2015 Denis Vincent dvinc.nosp@m.ent@.nosp@m.devol.nosp@m.utio.nosp@m.ns.ne.nosp@m.t
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.