FreeRDP
gcc.h File Reference
#include "mcs.h"
#include <freerdp/crypto/per.h>
#include <freerdp/freerdp.h>
#include <freerdp/settings.h>
#include <freerdp/api.h>
#include <winpr/stream.h>
This graph shows which files directly or indirectly include this file:

Functions

FREERDP_LOCAL BOOL gcc_read_conference_create_request (wStream *s, rdpMcs *mcs)
 
FREERDP_LOCAL void gcc_write_conference_create_request (wStream *s, wStream *userData)
 
FREERDP_LOCAL BOOL gcc_read_conference_create_response (wStream *s, rdpMcs *mcs)
 
FREERDP_LOCAL void gcc_write_conference_create_response (wStream *s, wStream *userData)
 
FREERDP_LOCAL BOOL gcc_read_client_data_blocks (wStream *s, rdpMcs *mcs, int length)
 
FREERDP_LOCAL void gcc_write_client_data_blocks (wStream *s, rdpMcs *mcs)
 
FREERDP_LOCAL BOOL gcc_read_server_data_blocks (wStream *s, rdpMcs *mcs, int length)
 
FREERDP_LOCAL BOOL gcc_write_server_data_blocks (wStream *s, rdpMcs *mcs)
 
FREERDP_LOCAL BOOL gcc_read_user_data_header (wStream *s, UINT16 *type, UINT16 *length)
 
FREERDP_LOCAL void gcc_write_user_data_header (wStream *s, UINT16 type, UINT16 length)
 
FREERDP_LOCAL BOOL gcc_read_client_core_data (wStream *s, rdpMcs *mcs, UINT16 blockLength)
 
FREERDP_LOCAL void gcc_write_client_core_data (wStream *s, rdpMcs *mcs)
 
FREERDP_LOCAL BOOL gcc_read_server_core_data (wStream *s, rdpMcs *mcs)
 
FREERDP_LOCAL BOOL gcc_write_server_core_data (wStream *s, rdpMcs *mcs)
 
FREERDP_LOCAL BOOL gcc_read_client_security_data (wStream *s, rdpMcs *mcs, UINT16 blockLength)
 
FREERDP_LOCAL void gcc_write_client_security_data (wStream *s, rdpMcs *mcs)
 
FREERDP_LOCAL BOOL gcc_read_server_security_data (wStream *s, rdpMcs *mcs)
 
FREERDP_LOCAL BOOL gcc_write_server_security_data (wStream *s, rdpMcs *mcs)
 
FREERDP_LOCAL BOOL gcc_read_client_network_data (wStream *s, rdpMcs *mcs, UINT16 blockLength)
 
FREERDP_LOCAL void gcc_write_client_network_data (wStream *s, rdpMcs *mcs)
 
FREERDP_LOCAL BOOL gcc_read_server_network_data (wStream *s, rdpMcs *mcs)
 
FREERDP_LOCAL BOOL gcc_write_server_network_data (wStream *s, rdpMcs *mcs)
 
FREERDP_LOCAL BOOL gcc_read_client_cluster_data (wStream *s, rdpMcs *mcs, UINT16 blockLength)
 
FREERDP_LOCAL void gcc_write_client_cluster_data (wStream *s, rdpMcs *mcs)
 
FREERDP_LOCAL BOOL gcc_read_client_monitor_data (wStream *s, rdpMcs *mcs, UINT16 blockLength)
 
FREERDP_LOCAL void gcc_write_client_monitor_data (wStream *s, rdpMcs *mcs)
 
FREERDP_LOCAL BOOL gcc_read_client_monitor_extended_data (wStream *s, rdpMcs *mcs, UINT16 blockLength)
 
FREERDP_LOCAL void gcc_write_client_monitor_extended_data (wStream *s, rdpMcs *mcs)
 
FREERDP_LOCAL BOOL gcc_read_client_message_channel_data (wStream *s, rdpMcs *mcs, UINT16 blockLength)
 
FREERDP_LOCAL void gcc_write_client_message_channel_data (wStream *s, rdpMcs *mcs)
 
FREERDP_LOCAL BOOL gcc_read_server_message_channel_data (wStream *s, rdpMcs *mcs)
 
FREERDP_LOCAL BOOL gcc_write_server_message_channel_data (wStream *s, rdpMcs *mcs)
 
FREERDP_LOCAL BOOL gcc_read_client_multitransport_channel_data (wStream *s, rdpMcs *mcs, UINT16 blockLength)
 
FREERDP_LOCAL void gcc_write_client_multitransport_channel_data (wStream *s, rdpMcs *mcs)
 
FREERDP_LOCAL BOOL gcc_read_server_multitransport_channel_data (wStream *s, rdpMcs *mcs)
 
FREERDP_LOCAL void gcc_write_server_multitransport_channel_data (wStream *s, rdpMcs *mcs)
 

Function Documentation

FREERDP_LOCAL BOOL gcc_read_client_cluster_data ( wStream *  s,
rdpMcs *  mcs,
UINT16  blockLength 
)

Read a client cluster data block (TS_UD_CS_CLUSTER).
http://msdn.microsoft.com/en-us/library/cc240514/

Parameters
sstream
settingsrdp settings

Here is the call graph for this function:

Here is the caller graph for this function:

FREERDP_LOCAL BOOL gcc_read_client_core_data ( wStream *  s,
rdpMcs *  mcs,
UINT16  blockLength 
)

Read a client core data block (TS_UD_CS_CORE).
http://msdn.microsoft.com/en-us/library/cc240510/

Parameters
sstream
settingsrdp settings

The following fields are all optional. If one field is present, all of the preceding fields MUST also be present. If one field is not present, all of the subsequent fields MUST NOT be present. We must check the bytes left before reading each field.

Here is the call graph for this function:

Here is the caller graph for this function:

FREERDP_LOCAL BOOL gcc_read_client_data_blocks ( wStream *  s,
rdpMcs *  mcs,
int  length 
)

Here is the call graph for this function:

Here is the caller graph for this function:

FREERDP_LOCAL BOOL gcc_read_client_message_channel_data ( wStream *  s,
rdpMcs *  mcs,
UINT16  blockLength 
)

Read a client message channel data block (TS_UD_CS_MCS_MSGCHANNEL).
http://msdn.microsoft.com/en-us/library/jj217627/

Parameters
sstream
settingsrdp settings

Here is the caller graph for this function:

FREERDP_LOCAL BOOL gcc_read_client_monitor_data ( wStream *  s,
rdpMcs *  mcs,
UINT16  blockLength 
)

Read a client monitor data block (TS_UD_CS_MONITOR).
http://msdn.microsoft.com/en-us/library/dd305336/

Parameters
sstream
settingsrdp settings

Here is the caller graph for this function:

FREERDP_LOCAL BOOL gcc_read_client_monitor_extended_data ( wStream *  s,
rdpMcs *  mcs,
UINT16  blockLength 
)

Here is the caller graph for this function:

FREERDP_LOCAL BOOL gcc_read_client_multitransport_channel_data ( wStream *  s,
rdpMcs *  mcs,
UINT16  blockLength 
)

Read a client multitransport channel data block (TS_UD_CS_MULTITRANSPORT).
http://msdn.microsoft.com/en-us/library/jj217498/

Parameters
sstream
settingsrdp settings

Here is the caller graph for this function:

FREERDP_LOCAL BOOL gcc_read_client_network_data ( wStream *  s,
rdpMcs *  mcs,
UINT16  blockLength 
)

Read a client network data block (TS_UD_CS_NET).
http://msdn.microsoft.com/en-us/library/cc240512/

Parameters
sstream
settingsrdp settings

CHANNEL_DEF

  • name: an 8-byte array containing a null-terminated collection of seven ANSI characters that uniquely identify the channel.
  • options: a 32-bit, unsigned integer. Channel option flags

Here is the call graph for this function:

Here is the caller graph for this function:

FREERDP_LOCAL BOOL gcc_read_client_security_data ( wStream *  s,
rdpMcs *  mcs,
UINT16  blockLength 
)

Read a client security data block (TS_UD_CS_SEC).
http://msdn.microsoft.com/en-us/library/cc240511/

Parameters
sstream
settingsrdp settings

Here is the call graph for this function:

Here is the caller graph for this function:

FREERDP_LOCAL BOOL gcc_read_conference_create_request ( wStream *  s,
rdpMcs *  mcs 
)

FreeRDP: A Remote Desktop Protocol Implementation T.124 Generic Conference Control (GCC)

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.

Read a GCC Conference Create Request.
http://msdn.microsoft.com/en-us/library/cc240836/

Parameters
sstream
settingsrdp settings

Here is the call graph for this function:

Here is the caller graph for this function:

FREERDP_LOCAL BOOL gcc_read_conference_create_response ( wStream *  s,
rdpMcs *  mcs 
)

Here is the call graph for this function:

Here is the caller graph for this function:

FREERDP_LOCAL BOOL gcc_read_server_core_data ( wStream *  s,
rdpMcs *  mcs 
)

Here is the call graph for this function:

Here is the caller graph for this function:

FREERDP_LOCAL BOOL gcc_read_server_data_blocks ( wStream *  s,
rdpMcs *  mcs,
int  length 
)

Here is the call graph for this function:

Here is the caller graph for this function:

FREERDP_LOCAL BOOL gcc_read_server_message_channel_data ( wStream *  s,
rdpMcs *  mcs 
)

Here is the call graph for this function:

Here is the caller graph for this function:

FREERDP_LOCAL BOOL gcc_read_server_multitransport_channel_data ( wStream *  s,
rdpMcs *  mcs 
)

Here is the call graph for this function:

Here is the caller graph for this function:

FREERDP_LOCAL BOOL gcc_read_server_network_data ( wStream *  s,
rdpMcs *  mcs 
)

Here is the call graph for this function:

Here is the caller graph for this function:

FREERDP_LOCAL BOOL gcc_read_server_security_data ( wStream *  s,
rdpMcs *  mcs 
)

Here is the call graph for this function:

Here is the caller graph for this function:

FREERDP_LOCAL BOOL gcc_read_user_data_header ( wStream *  s,
UINT16 type,
UINT16 length 
)

Here is the call graph for this function:

Here is the caller graph for this function:

FREERDP_LOCAL void gcc_write_client_cluster_data ( wStream *  s,
rdpMcs *  mcs 
)

Write a client cluster data block (TS_UD_CS_CLUSTER).
http://msdn.microsoft.com/en-us/library/cc240514/

Parameters
sstream
settingsrdp settings

Here is the call graph for this function:

Here is the caller graph for this function:

FREERDP_LOCAL void gcc_write_client_core_data ( wStream *  s,
rdpMcs *  mcs 
)

Write a client core data block (TS_UD_CS_CORE).
http://msdn.microsoft.com/en-us/library/cc240510/

Parameters
sstream
settingsrdp settings

Here is the call graph for this function:

Here is the caller graph for this function:

FREERDP_LOCAL void gcc_write_client_data_blocks ( wStream *  s,
rdpMcs *  mcs 
)

Here is the call graph for this function:

Here is the caller graph for this function:

FREERDP_LOCAL void gcc_write_client_message_channel_data ( wStream *  s,
rdpMcs *  mcs 
)

Write a client message channel data block (TS_UD_CS_MCS_MSGCHANNEL).
http://msdn.microsoft.com/en-us/library/jj217627/

Parameters
sstream
settingsrdp settings

Here is the call graph for this function:

Here is the caller graph for this function:

FREERDP_LOCAL void gcc_write_client_monitor_data ( wStream *  s,
rdpMcs *  mcs 
)

Write a client monitor data block (TS_UD_CS_MONITOR).
http://msdn.microsoft.com/en-us/library/dd305336/

Parameters
sstream
settingsrdp settings

Here is the call graph for this function:

Here is the caller graph for this function:

FREERDP_LOCAL void gcc_write_client_monitor_extended_data ( wStream *  s,
rdpMcs *  mcs 
)

Here is the call graph for this function:

Here is the caller graph for this function:

FREERDP_LOCAL void gcc_write_client_multitransport_channel_data ( wStream *  s,
rdpMcs *  mcs 
)

Write a client multitransport channel data block (TS_UD_CS_MULTITRANSPORT).
http://msdn.microsoft.com/en-us/library/jj217498/

Parameters
sstream
settingsrdp settings

Here is the call graph for this function:

Here is the caller graph for this function:

FREERDP_LOCAL void gcc_write_client_network_data ( wStream *  s,
rdpMcs *  mcs 
)

Write a client network data block (TS_UD_CS_NET).
http://msdn.microsoft.com/en-us/library/cc240512/

Parameters
sstream
settingsrdp settings

Here is the call graph for this function:

Here is the caller graph for this function:

FREERDP_LOCAL void gcc_write_client_security_data ( wStream *  s,
rdpMcs *  mcs 
)

Write a client security data block (TS_UD_CS_SEC).
http://msdn.microsoft.com/en-us/library/cc240511/

Parameters
sstream
settingsrdp settings

Here is the call graph for this function:

Here is the caller graph for this function:

FREERDP_LOCAL void gcc_write_conference_create_request ( wStream *  s,
wStream *  userData 
)

Write a GCC Conference Create Request.
http://msdn.microsoft.com/en-us/library/cc240836/

Parameters
sstream
user_dataclient data blocks

Here is the call graph for this function:

Here is the caller graph for this function:

FREERDP_LOCAL void gcc_write_conference_create_response ( wStream *  s,
wStream *  userData 
)

Here is the call graph for this function:

Here is the caller graph for this function:

FREERDP_LOCAL BOOL gcc_write_server_core_data ( wStream *  s,
rdpMcs *  mcs 
)

Here is the call graph for this function:

Here is the caller graph for this function:

FREERDP_LOCAL BOOL gcc_write_server_data_blocks ( wStream *  s,
rdpMcs *  mcs 
)

Here is the call graph for this function:

Here is the caller graph for this function:

FREERDP_LOCAL BOOL gcc_write_server_message_channel_data ( wStream *  s,
rdpMcs *  mcs 
)

Here is the call graph for this function:

Here is the caller graph for this function:

FREERDP_LOCAL void gcc_write_server_multitransport_channel_data ( wStream *  s,
rdpMcs *  mcs 
)

Here is the call graph for this function:

FREERDP_LOCAL BOOL gcc_write_server_network_data ( wStream *  s,
rdpMcs *  mcs 
)

Here is the call graph for this function:

Here is the caller graph for this function:

FREERDP_LOCAL BOOL gcc_write_server_security_data ( wStream *  s,
rdpMcs *  mcs 
)

Re: settings->EncryptionLevel: This is configured/set by the server implementation and serves the same purpose as the "Encryption Level" setting in the RDP-Tcp configuration dialog of Microsoft's Remote Desktop Session Host Configuration. Re: settings->EncryptionMethods: at this point this setting contains the client's supported encryption methods we've received in gcc_read_client_security_data()

Here is the call graph for this function:

Here is the caller graph for this function:

FREERDP_LOCAL void gcc_write_user_data_header ( wStream *  s,
UINT16  type,
UINT16  length 
)

Write a user data header (TS_UD_HEADER).
http://msdn.microsoft.com/en-us/library/cc240509/

Parameters
sstream
typedata block type
lengthdata block length

Here is the call graph for this function:

Here is the caller graph for this function: