FreeRDP
connection.h File Reference
#include "rdp.h"
#include "tpkt.h"
#include "tpdu.h"
#include "nego.h"
#include "mcs.h"
#include "activation.h"
#include "state.h"
#include <freerdp/settings.h>
#include <freerdp/api.h>
This graph shows which files directly or indirectly include this file:

Enumerations

enum  CLIENT_CONNECTION_STATE { CLIENT_STATE_INITIAL , CLIENT_STATE_PRECONNECT_PASSED , CLIENT_STATE_POSTCONNECT_PASSED }
 

Functions

FREERDP_LOCAL BOOL rdp_client_connect (rdpRdp *rdp)
 
FREERDP_LOCAL BOOL rdp_client_disconnect (rdpRdp *rdp)
 
FREERDP_LOCAL BOOL rdp_client_disconnect_and_clear (rdpRdp *rdp)
 
FREERDP_LOCAL BOOL rdp_client_reconnect (rdpRdp *rdp)
 
FREERDP_LOCAL BOOL rdp_client_redirect (rdpRdp *rdp)
 
FREERDP_LOCAL BOOL rdp_client_skip_mcs_channel_join (rdpRdp *rdp)
 
FREERDP_LOCAL BOOL rdp_client_connect_mcs_channel_join_confirm (rdpRdp *rdp, wStream *s)
 
FREERDP_LOCAL BOOL rdp_client_connect_auto_detect (rdpRdp *rdp, wStream *s)
 
FREERDP_LOCAL state_run_t rdp_client_connect_license (rdpRdp *rdp, wStream *s)
 
FREERDP_LOCAL state_run_t rdp_client_connect_demand_active (rdpRdp *rdp, wStream *s)
 
FREERDP_LOCAL state_run_t rdp_client_connect_confirm_active (rdpRdp *rdp, wStream *s)
 
FREERDP_LOCAL state_run_t rdp_client_connect_finalize (rdpRdp *rdp)
 
FREERDP_LOCAL BOOL rdp_client_transition_to_state (rdpRdp *rdp, CONNECTION_STATE state)
 
FREERDP_LOCAL CONNECTION_STATE rdp_get_state (const rdpRdp *rdp)
 
FREERDP_LOCAL const char * rdp_state_string (CONNECTION_STATE state)
 
FREERDP_LOCAL BOOL rdp_is_active_state (const rdpRdp *rdp)
 
FREERDP_LOCAL BOOL rdp_server_accept_nego (rdpRdp *rdp, wStream *s)
 
FREERDP_LOCAL BOOL rdp_server_accept_mcs_connect_initial (rdpRdp *rdp, wStream *s)
 
FREERDP_LOCAL BOOL rdp_server_accept_mcs_erect_domain_request (rdpRdp *rdp, wStream *s)
 
FREERDP_LOCAL BOOL rdp_server_accept_mcs_attach_user_request (rdpRdp *rdp, wStream *s)
 
FREERDP_LOCAL BOOL rdp_server_accept_mcs_channel_join_request (rdpRdp *rdp, wStream *s)
 
FREERDP_LOCAL BOOL rdp_server_accept_confirm_active (rdpRdp *rdp, wStream *s, UINT16 pduLength)
 
FREERDP_LOCAL BOOL rdp_server_establish_keys (rdpRdp *rdp, wStream *s)
 
FREERDP_LOCAL BOOL rdp_server_reactivate (rdpRdp *rdp)
 
FREERDP_LOCAL BOOL rdp_server_transition_to_state (rdpRdp *rdp, CONNECTION_STATE state)
 
FREERDP_LOCAL const char * rdp_get_state_string (const rdpRdp *rdp)
 
FREERDP_LOCAL const char * rdp_client_connection_state_string (int state)
 
FREERDP_LOCAL BOOL rdp_channels_from_mcs (rdpSettings *settings, const rdpRdp *rdp)
 

Enumeration Type Documentation

◆ CLIENT_CONNECTION_STATE

FreeRDP: A Remote Desktop Protocol Implementation Connection Sequence

Copyright 2011 Marc-Andre Moreau marca.nosp@m.ndre.nosp@m..more.nosp@m.au@g.nosp@m.mail..nosp@m.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.

Enumerator
CLIENT_STATE_INITIAL 
CLIENT_STATE_PRECONNECT_PASSED 
CLIENT_STATE_POSTCONNECT_PASSED 

Function Documentation

◆ rdp_channels_from_mcs()

FREERDP_LOCAL BOOL rdp_channels_from_mcs ( rdpSettings *  settings,
const rdpRdp *  rdp 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ rdp_client_connect()

FREERDP_LOCAL BOOL rdp_client_connect ( rdpRdp *  rdp)

Establish RDP Connection based on the settings given in the 'rdp' parameter. msdn{cc240452}

Parameters
rdpRDP module
Returns
true if the connection succeeded. FALSE otherwise.
Here is the call graph for this function:
Here is the caller graph for this function:

◆ rdp_client_connect_auto_detect()

FREERDP_LOCAL BOOL rdp_client_connect_auto_detect ( rdpRdp *  rdp,
wStream s 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ rdp_client_connect_confirm_active()

FREERDP_LOCAL state_run_t rdp_client_connect_confirm_active ( rdpRdp *  rdp,
wStream s 
)

The server may request a different desktop size during Deactivation-Reactivation sequence. In this case, the UI should be informed and do actual window resizing at this point.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ rdp_client_connect_demand_active()

FREERDP_LOCAL state_run_t rdp_client_connect_demand_active ( rdpRdp *  rdp,
wStream s 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ rdp_client_connect_finalize()

FREERDP_LOCAL state_run_t rdp_client_connect_finalize ( rdpRdp *  rdp)

[MS-RDPBCGR] 1.3.1.1 - 8. The client-to-server PDUs sent during this phase have no dependencies on any of the server-to- client PDUs; they may be sent as a single batch, provided that sequencing is maintained.

[MS-RDPBCGR] 2.2.1.17 Client persistent key list must be sent if a bitmap is stored in persistent bitmap cache or the server has advertised support for bitmap host cache and a deactivation reactivation sequence is not in progress.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ rdp_client_connect_license()

FREERDP_LOCAL state_run_t rdp_client_connect_license ( rdpRdp *  rdp,
wStream s 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ rdp_client_connect_mcs_channel_join_confirm()

FREERDP_LOCAL BOOL rdp_client_connect_mcs_channel_join_confirm ( rdpRdp *  rdp,
wStream s 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ rdp_client_connection_state_string()

FREERDP_LOCAL const char* rdp_client_connection_state_string ( int  state)

◆ rdp_client_disconnect()

FREERDP_LOCAL BOOL rdp_client_disconnect ( rdpRdp *  rdp)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ rdp_client_disconnect_and_clear()

FREERDP_LOCAL BOOL rdp_client_disconnect_and_clear ( rdpRdp *  rdp)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ rdp_client_reconnect()

FREERDP_LOCAL BOOL rdp_client_reconnect ( rdpRdp *  rdp)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ rdp_client_redirect()

FREERDP_LOCAL BOOL rdp_client_redirect ( rdpRdp *  rdp)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ rdp_client_skip_mcs_channel_join()

FREERDP_LOCAL BOOL rdp_client_skip_mcs_channel_join ( rdpRdp *  rdp)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ rdp_client_transition_to_state()

FREERDP_LOCAL BOOL rdp_client_transition_to_state ( rdpRdp *  rdp,
CONNECTION_STATE  state 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ rdp_get_state()

FREERDP_LOCAL CONNECTION_STATE rdp_get_state ( const rdpRdp *  rdp)
Here is the caller graph for this function:

◆ rdp_get_state_string()

FREERDP_LOCAL const char* rdp_get_state_string ( const rdpRdp *  rdp)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ rdp_is_active_state()

FREERDP_LOCAL BOOL rdp_is_active_state ( const rdpRdp *  rdp)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ rdp_server_accept_confirm_active()

FREERDP_LOCAL BOOL rdp_server_accept_confirm_active ( rdpRdp *  rdp,
wStream s,
UINT16  pduLength 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ rdp_server_accept_mcs_attach_user_request()

FREERDP_LOCAL BOOL rdp_server_accept_mcs_attach_user_request ( rdpRdp *  rdp,
wStream s 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ rdp_server_accept_mcs_channel_join_request()

FREERDP_LOCAL BOOL rdp_server_accept_mcs_channel_join_request ( rdpRdp *  rdp,
wStream s 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ rdp_server_accept_mcs_connect_initial()

FREERDP_LOCAL BOOL rdp_server_accept_mcs_connect_initial ( rdpRdp *  rdp,
wStream s 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ rdp_server_accept_mcs_erect_domain_request()

FREERDP_LOCAL BOOL rdp_server_accept_mcs_erect_domain_request ( rdpRdp *  rdp,
wStream s 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ rdp_server_accept_nego()

FREERDP_LOCAL BOOL rdp_server_accept_nego ( rdpRdp *  rdp,
wStream s 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ rdp_server_establish_keys()

FREERDP_LOCAL BOOL rdp_server_establish_keys ( rdpRdp *  rdp,
wStream s 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ rdp_server_reactivate()

FREERDP_LOCAL BOOL rdp_server_reactivate ( rdpRdp *  rdp)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ rdp_server_transition_to_state()

FREERDP_LOCAL BOOL rdp_server_transition_to_state ( rdpRdp *  rdp,
CONNECTION_STATE  state 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ rdp_state_string()

FREERDP_LOCAL const char* rdp_state_string ( CONNECTION_STATE  state)
Here is the caller graph for this function: