FreeRDP
rail_common.h File Reference
#include <freerdp/rail.h>
This graph shows which files directly or indirectly include this file:

Macros

#define RAIL_PDU_HEADER_LENGTH   4
 
#define RAIL_HANDSHAKE_ORDER_LENGTH   4 /* fixed */
 
#define RAIL_HANDSHAKE_EX_ORDER_LENGTH   8 /* fixed */
 
#define RAIL_CLIENT_STATUS_ORDER_LENGTH   4 /* fixed */
 
#define RAIL_EXEC_ORDER_LENGTH   8 /* variable */
 
#define RAIL_SYSPARAM_ORDER_LENGTH   4 /* variable */
 
#define RAIL_ACTIVATE_ORDER_LENGTH   5 /* fixed */
 
#define RAIL_SYSMENU_ORDER_LENGTH   8 /* fixed */
 
#define RAIL_SYSCOMMAND_ORDER_LENGTH   6 /* fixed */
 
#define RAIL_NOTIFY_EVENT_ORDER_LENGTH   12 /* fixed */
 
#define RAIL_WINDOW_MOVE_ORDER_LENGTH   12 /* fixed */
 
#define RAIL_GET_APPID_REQ_ORDER_LENGTH   4 /* fixed */
 
#define RAIL_LANGBAR_INFO_ORDER_LENGTH   4 /* fixed */
 

Functions

BOOL rail_string_to_unicode_string (const char *string, RAIL_UNICODE_STRING *unicode_string)
 
UINT rail_read_handshake_order (wStream *s, RAIL_HANDSHAKE_ORDER *handshake)
 
void rail_write_handshake_order (wStream *s, const RAIL_HANDSHAKE_ORDER *handshake)
 
UINT rail_read_handshake_ex_order (wStream *s, RAIL_HANDSHAKE_EX_ORDER *handshakeEx)
 
void rail_write_handshake_ex_order (wStream *s, const RAIL_HANDSHAKE_EX_ORDER *handshakeEx)
 
wStream * rail_pdu_init (size_t length)
 
UINT rail_read_pdu_header (wStream *s, UINT16 *orderType, UINT16 *orderLength)
 
void rail_write_pdu_header (wStream *s, UINT16 orderType, UINT16 orderLength)
 

Variables

const char *const RAIL_ORDER_TYPE_STRINGS []
 

Macro Definition Documentation

#define RAIL_ACTIVATE_ORDER_LENGTH   5 /* fixed */
#define RAIL_CLIENT_STATUS_ORDER_LENGTH   4 /* fixed */
#define RAIL_EXEC_ORDER_LENGTH   8 /* variable */
#define RAIL_GET_APPID_REQ_ORDER_LENGTH   4 /* fixed */
#define RAIL_HANDSHAKE_EX_ORDER_LENGTH   8 /* fixed */
#define RAIL_HANDSHAKE_ORDER_LENGTH   4 /* fixed */
#define RAIL_LANGBAR_INFO_ORDER_LENGTH   4 /* fixed */
#define RAIL_NOTIFY_EVENT_ORDER_LENGTH   12 /* fixed */
#define RAIL_PDU_HEADER_LENGTH   4
#define RAIL_SYSCOMMAND_ORDER_LENGTH   6 /* fixed */
#define RAIL_SYSMENU_ORDER_LENGTH   8 /* fixed */
#define RAIL_SYSPARAM_ORDER_LENGTH   4 /* variable */
#define RAIL_WINDOW_MOVE_ORDER_LENGTH   12 /* fixed */

Function Documentation

wStream* rail_pdu_init ( size_t  length)

Here is the call graph for this function:

Here is the caller graph for this function:

UINT rail_read_handshake_ex_order ( wStream *  s,
RAIL_HANDSHAKE_EX_ORDER *  handshakeEx 
)

Function description

Returns
0 on success, otherwise a Win32 error code

Here is the call graph for this function:

Here is the caller graph for this function:

UINT rail_read_handshake_order ( wStream *  s,
RAIL_HANDSHAKE_ORDER *  handshake 
)

Function description

Returns
0 on success, otherwise a Win32 error code

Here is the call graph for this function:

Here is the caller graph for this function:

UINT rail_read_pdu_header ( wStream *  s,
UINT16 orderType,
UINT16 orderLength 
)

Function description

Returns
0 on success, otherwise a Win32 error code

Here is the call graph for this function:

Here is the caller graph for this function:

BOOL rail_string_to_unicode_string ( const char *  string,
RAIL_UNICODE_STRING *  unicode_string 
)

Here is the call graph for this function:

Here is the caller graph for this function:

void rail_write_handshake_ex_order ( wStream *  s,
const RAIL_HANDSHAKE_EX_ORDER *  handshakeEx 
)

Here is the call graph for this function:

Here is the caller graph for this function:

void rail_write_handshake_order ( wStream *  s,
const RAIL_HANDSHAKE_ORDER *  handshake 
)

Here is the call graph for this function:

Here is the caller graph for this function:

void rail_write_pdu_header ( wStream *  s,
UINT16  orderType,
UINT16  orderLength 
)

Here is the call graph for this function:

Here is the caller graph for this function:

Variable Documentation

const char* const RAIL_ORDER_TYPE_STRINGS[]

FreeRDP: A Remote Desktop Protocol Implementation RAIL Virtual Channel Plugin

Copyright 2011 Marc-Andre Moreau marca.nosp@m.ndre.nosp@m..more.nosp@m.au@g.nosp@m.mail..nosp@m.com Copyright 2011 Roman Barabanov roman.nosp@m.bara.nosp@m.banov.nosp@m.@gma.nosp@m.il.co.nosp@m.m Copyright 2011 Vic Lee Copyright 2015 Thincast Technologies GmbH Copyright 2015 DI (FH) Martin Haimberger marti.nosp@m.n.ha.nosp@m.imber.nosp@m.ger@.nosp@m.thinc.nosp@m.ast..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.

FreeRDP: A Remote Desktop Protocol Implementation RAIL common functions

Copyright 2011 Marc-Andre Moreau marca.nosp@m.ndre.nosp@m..more.nosp@m.au@g.nosp@m.mail..nosp@m.com Copyright 2011 Roman Barabanov roman.nosp@m.bara.nosp@m.banov.nosp@m.@gma.nosp@m.il.co.nosp@m.m Copyright 2011 Vic Lee Copyright 2015 Thincast Technologies GmbH Copyright 2015 DI (FH) Martin Haimberger marti.nosp@m.n.ha.nosp@m.imber.nosp@m.ger@.nosp@m.thinc.nosp@m.ast..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.