FreeRDP
|
#include <freerdp/config.h>
#include "settings.h"
#include <winpr/crt.h>
#include <winpr/assert.h>
#include <freerdp/crypto/crypto.h>
#include <freerdp/log.h>
#include <freerdp/session.h>
#include <stdio.h>
#include "timezone.h"
#include "info.h"
Macros | |
#define | TAG FREERDP_TAG("core.info") |
#define | logonInfoV2Size (2 + 4 + 4 + 4 + 4) |
#define | logonInfoV2ReservedSize 558 |
#define | logonInfoV2TotalSize (logonInfoV2Size + logonInfoV2ReservedSize) |
#define | MAX_LABEL_LENGTH 40 |
Functions | |
static BOOL | rdp_read_info_null_string (rdpSettings *settings, FreeRDP_Settings_Keys_String id, const char *what, UINT32 flags, wStream *s, size_t cbLen, size_t max) |
static char * | rdp_info_package_flags_description (UINT32 flags) |
static BOOL | rdp_compute_client_auto_reconnect_cookie (rdpRdp *rdp) |
static BOOL | rdp_read_server_auto_reconnect_cookie (rdpRdp *rdp, wStream *s, logon_info_ex *info) |
static BOOL | rdp_read_client_auto_reconnect_cookie (rdpRdp *rdp, wStream *s) |
static BOOL | rdp_write_client_auto_reconnect_cookie (rdpRdp *rdp, wStream *s) |
static size_t | rdp_get_client_address_max_size (const rdpRdp *rdp) |
static BOOL | rdp_read_extended_info_packet (rdpRdp *rdp, wStream *s) |
static BOOL | rdp_write_extended_info_packet (rdpRdp *rdp, wStream *s) |
static BOOL | rdp_read_info_string (rdpSettings *settings, FreeRDP_Settings_Keys_String id, UINT32 flags, wStream *s, size_t cbLenNonNull, size_t max) |
static BOOL | rdp_read_info_packet (rdpRdp *rdp, wStream *s, UINT16 tpktlength) |
static BOOL | rdp_write_info_packet (rdpRdp *rdp, wStream *s) |
BOOL | rdp_recv_client_info (rdpRdp *rdp, wStream *s) |
BOOL | rdp_send_client_info (rdpRdp *rdp) |
static void | rdp_free_logon_info (logon_info *info) |
static BOOL | rdp_info_read_string (const char *what, wStream *s, size_t size, size_t max, BOOL skipMax, char **dst) |
static BOOL | rdp_recv_logon_info_v1 (rdpRdp *rdp, wStream *s, logon_info *info) |
static BOOL | rdp_recv_logon_info_v2 (rdpRdp *rdp, wStream *s, logon_info *info) |
static BOOL | rdp_recv_logon_plain_notify (rdpRdp *rdp, wStream *s) |
static BOOL | rdp_recv_logon_error_info (rdpRdp *rdp, wStream *s, logon_info_ex *info) |
static BOOL | rdp_recv_logon_info_extended (rdpRdp *rdp, wStream *s, logon_info_ex *info) |
BOOL | rdp_recv_save_session_info (rdpRdp *rdp, wStream *s) |
static BOOL | rdp_write_logon_info_v1 (wStream *s, logon_info *info) |
static BOOL | rdp_write_logon_info_v2 (wStream *s, logon_info *info) |
static BOOL | rdp_write_logon_info_plain (wStream *s) |
static BOOL | rdp_write_logon_info_ex (wStream *s, logon_info_ex *info) |
BOOL | rdp_send_save_session_info (rdpContext *context, UINT32 type, void *data) |
BOOL | rdp_send_server_status_info (rdpContext *context, UINT32 status) |
Variables | |
static const char *const | INFO_TYPE_LOGON_STRINGS [4] |
static const struct info_flags_t | info_flags [] |
#define logonInfoV2ReservedSize 558 |
#define logonInfoV2Size (2 + 4 + 4 + 4 + 4) |
#define logonInfoV2TotalSize (logonInfoV2Size + logonInfoV2ReservedSize) |
#define MAX_LABEL_LENGTH 40 |
#define TAG FREERDP_TAG("core.info") |
FreeRDP: A Remote Desktop Protocol Implementation RDP Client Info
Copyright 2011 Marc-Andre Moreau marca Copyright 2015 Thincast Technologies GmbH Copyright 2015 DI (FH) Martin Haimberger ndre .more au@g mail. commarti n.ha imber ger@ thinc ast. com
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.
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
Read Client Auto Reconnect Cookie (ARC_CS_PRIVATE_PACKET). msdn{cc240541}
|
static |
Read Extended Info Packet (TS_EXTENDED_INFO_PACKET). msdn{cc240476}
down below all fields are optional but if one field is not present, then all of the subsequent fields also MUST NOT be present.
|
static |
Read Info Packet (TS_INFO_PACKET). msdn{cc240475}
|
static |
|
static |
Read Server Auto Reconnect Cookie (ARC_SC_PRIVATE_PACKET). msdn{cc240540}
BOOL rdp_recv_client_info | ( | rdpRdp * | rdp, |
wStream * | s | ||
) |
Read Client Info PDU (CLIENT_INFO_PDU). msdn{cc240474}
rdp | RDP module |
s | stream |
|
static |
|
static |
|
static |
|
static |
|
static |
BOOL rdp_recv_save_session_info | ( | rdpRdp * | rdp, |
wStream * | s | ||
) |
BOOL rdp_send_client_info | ( | rdpRdp * | rdp | ) |
Send Client Info PDU (CLIENT_INFO_PDU). msdn{cc240474}
rdp | RDP module |
BOOL rdp_send_save_session_info | ( | rdpContext * | context, |
UINT32 | type, | ||
void * | data | ||
) |
BOOL rdp_send_server_status_info | ( | rdpContext * | context, |
UINT32 | status | ||
) |
|
static |
Write Client Auto Reconnect Cookie (ARC_CS_PRIVATE_PACKET). msdn{cc240541}
|
static |
Write Extended Info Packet (TS_EXTENDED_INFO_PACKET). msdn{cc240476}
|
static |
Write Info Packet (TS_INFO_PACKET). msdn{cc240475}
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |