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

Data Structures

struct  rdpFileLine
 
struct  rdpFile
 

Macros

#define RDP_FILE_LINE_FLAG_FORMATTED   0x00000001
 
#define RDP_FILE_LINE_FLAG_STANDARD   0x00000002
 
#define RDP_FILE_LINE_FLAG_TYPE_STRING   0x00000010
 
#define RDP_FILE_LINE_FLAG_TYPE_INTEGER   0x00000020
 
#define RDP_FILE_LINE_FLAG_TYPE_BINARY   0x00000040
 

Functions

FREERDP_API BOOL freerdp_client_parse_rdp_file (rdpFile *file, const char *name)
 
FREERDP_API BOOL freerdp_client_parse_rdp_file_buffer (rdpFile *file, const BYTE *buffer, size_t size)
 
FREERDP_API BOOL freerdp_client_populate_settings_from_rdp_file (rdpFile *file, rdpSettings *settings)
 
FREERDP_API BOOL freerdp_client_populate_rdp_file_from_settings (rdpFile *file, const rdpSettings *settings)
 
FREERDP_API BOOL freerdp_client_write_rdp_file (const rdpFile *file, const char *name, BOOL unicode)
 
FREERDP_API size_t freerdp_client_write_rdp_file_buffer (const rdpFile *file, char *buffer, size_t size)
 
FREERDP_API int freerdp_client_rdp_file_set_string_option (rdpFile *file, const char *name, const char *value)
 
FREERDP_API const char * freerdp_client_rdp_file_get_string_option (rdpFile *file, const char *name)
 
FREERDP_API int freerdp_client_rdp_file_set_integer_option (rdpFile *file, const char *name, int value)
 
FREERDP_API int freerdp_client_rdp_file_get_integer_option (rdpFile *file, const char *name)
 
FREERDP_API rdpFile * freerdp_client_rdp_file_new (void)
 
FREERDP_API void freerdp_client_rdp_file_free (rdpFile *file)
 

Macro Definition Documentation

#define RDP_FILE_LINE_FLAG_FORMATTED   0x00000001

FreeRDP: A Remote Desktop Protocol Implementation .rdp file

Copyright 2012 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.

#define RDP_FILE_LINE_FLAG_STANDARD   0x00000002
#define RDP_FILE_LINE_FLAG_TYPE_BINARY   0x00000040
#define RDP_FILE_LINE_FLAG_TYPE_INTEGER   0x00000020
#define RDP_FILE_LINE_FLAG_TYPE_STRING   0x00000010

Function Documentation

FREERDP_API BOOL freerdp_client_parse_rdp_file ( rdpFile *  file,
const char *  name 
)

Here is the call graph for this function:

Here is the caller graph for this function:

FREERDP_API BOOL freerdp_client_parse_rdp_file_buffer ( rdpFile *  file,
const BYTE buffer,
size_t  size 
)

Here is the call graph for this function:

Here is the caller graph for this function:

FREERDP_API BOOL freerdp_client_populate_rdp_file_from_settings ( rdpFile *  file,
const rdpSettings *  settings 
)

Here is the caller graph for this function:

FREERDP_API BOOL freerdp_client_populate_settings_from_rdp_file ( rdpFile *  file,
rdpSettings *  settings 
)

Screen Mode Id: http://technet.microsoft.com/en-us/library/ff393692/

This setting corresponds to the selection in the Display configuration slider on the Display tab under Options in RDC.

Values:

1: The remote session will appear in a window. 2: The remote session will appear full screen.

Authentication Level: http://technet.microsoft.com/en-us/library/ff393709/

This setting corresponds to the selection in the If server authentication fails drop-down list on the Advanced tab under Options in RDC.

Values:

0: If server authentication fails, connect to the computer without warning (Connect and don’t warn me). 1: If server authentication fails, do not establish a connection (Do not connect). 2: If server authentication fails, show a warning and allow me to connect or refuse the connection (Warn me). 3: No authentication requirement is specified.

Devices to redirect: http://technet.microsoft.com/en-us/library/ff393728/

This setting corresponds to the selections for Other supported Plug and Play (PnP) devices under More on the Local Resources tab under Options in RDC.

Values:

'*': Redirect all supported Plug and Play devices.

'DynamicDevices': Redirect any supported Plug and Play devices that are connected later.

The hardware ID for the supported Plug and Play device: Redirect the specified supported Plug and Play device.

Examples: devicestoredirect:s:* devicestoredirect:s:DynamicDevices devicestoredirect:s:USB&PID_30C1\6&4BD985D&0&2;,DynamicDevices

Here is the call graph for this function:

Here is the caller graph for this function:

FREERDP_API void freerdp_client_rdp_file_free ( rdpFile *  file)

Here is the call graph for this function:

Here is the caller graph for this function:

FREERDP_API int freerdp_client_rdp_file_get_integer_option ( rdpFile *  file,
const char *  name 
)

Here is the call graph for this function:

Here is the caller graph for this function:

FREERDP_API const char* freerdp_client_rdp_file_get_string_option ( rdpFile *  file,
const char *  name 
)

Here is the call graph for this function:

Here is the caller graph for this function:

FREERDP_API rdpFile* freerdp_client_rdp_file_new ( void  )

Here is the call graph for this function:

Here is the caller graph for this function:

FREERDP_API int freerdp_client_rdp_file_set_integer_option ( rdpFile *  file,
const char *  name,
int  value 
)

Here is the call graph for this function:

Here is the caller graph for this function:

FREERDP_API int freerdp_client_rdp_file_set_string_option ( rdpFile *  file,
const char *  name,
const char *  value 
)

Set a string option to a rdpFile

Parameters
filerdpFile
namename of the option
valuevalue of the option
Returns
0 on success

Here is the call graph for this function:

Here is the caller graph for this function:

FREERDP_API BOOL freerdp_client_write_rdp_file ( const rdpFile *  file,
const char *  name,
BOOL  unicode 
)

Here is the call graph for this function:

Here is the caller graph for this function:

FREERDP_API size_t freerdp_client_write_rdp_file_buffer ( const rdpFile *  file,
char *  buffer,
size_t  size 
)

Here is the caller graph for this function: