FreeRDP
|
This is the FreeRDP settings module. More...
Data Structures | |
struct | TARGET_NET_ADDRESS |
struct | ARC_CS_PRIVATE_PACKET |
struct | ARC_SC_PRIVATE_PACKET |
struct | ADDIN_ARGV |
struct | rdp_ext_set |
struct | BITMAP_CACHE_CELL_INFO |
struct | BITMAP_CACHE_V2_CELL_INFO |
struct | GLYPH_CACHE_DEFINITION |
struct | MONITOR_DEF |
struct | MONITOR_ATTRIBUTES |
struct | rdpMonitor |
struct | RDPDR_DEVICE |
struct | RDPDR_DRIVE |
struct | RDPDR_PRINTER |
struct | RDPDR_SMARTCARD |
struct | RDPDR_SERIAL |
struct | RDPDR_PARALLEL |
struct | rdpSettings |
Functions | |
FREERDP_API void | freerdp_settings_free (rdpSettings *settings) |
Free a settings struct with all data in it. | |
FREERDP_API rdpSettings * | freerdp_settings_new (DWORD flags) |
creates a new setting struct | |
FREERDP_API rdpSettings * | freerdp_settings_clone (const rdpSettings *settings) |
Creates a deep copy of settings. | |
FREERDP_API BOOL | freerdp_settings_copy (rdpSettings *dst, const rdpSettings *src) |
Deep copies settings from src to dst. | |
FREERDP_API BOOL | freerdp_settings_copy_item (rdpSettings *dst, const rdpSettings *src, SSIZE_T id) |
copies one setting identified by id from src to dst | |
FREERDP_API void | freerdp_settings_dump (wLog *log, DWORD level, const rdpSettings *settings) |
Dumps the contents of a settings struct to a WLog logger. | |
FREERDP_API BOOL | freerdp_settings_print_diff (wLog *log, DWORD level, const rdpSettings *src, const rdpSettings *other) |
Dumps the difference between two settings structs to a WLog. | |
FREERDP_API void | freerdp_addin_argv_free (ADDIN_ARGV *args) |
FREERDP_API ADDIN_ARGV * | freerdp_addin_argv_new (size_t argc, const char *const argv[]) |
FREERDP_API ADDIN_ARGV * | freerdp_addin_argv_clone (const ADDIN_ARGV *args) |
FREERDP_API BOOL | freerdp_addin_argv_add_argument (ADDIN_ARGV *args, const char *argument) |
FREERDP_API BOOL | freerdp_addin_argv_add_argument_ex (ADDIN_ARGV *args, const char *argument, size_t len) |
FREERDP_API BOOL | freerdp_addin_argv_del_argument (ADDIN_ARGV *args, const char *argument) |
FREERDP_API int | freerdp_addin_set_argument (ADDIN_ARGV *args, const char *argument) |
FREERDP_API int | freerdp_addin_replace_argument (ADDIN_ARGV *args, const char *previous, const char *argument) |
FREERDP_API int | freerdp_addin_set_argument_value (ADDIN_ARGV *args, const char *option, const char *value) |
FREERDP_API int | freerdp_addin_replace_argument_value (ADDIN_ARGV *args, const char *previous, const char *option, const char *value) |
FREERDP_API BOOL | freerdp_device_collection_add (rdpSettings *settings, RDPDR_DEVICE *device) |
FREERDP_API BOOL | freerdp_device_collection_del (rdpSettings *settings, const RDPDR_DEVICE *device) |
Removed a device from the settings, returns ownership of the allocated device to caller. | |
FREERDP_API RDPDR_DEVICE * | freerdp_device_collection_find (rdpSettings *settings, const char *name) |
FREERDP_API RDPDR_DEVICE * | freerdp_device_collection_find_type (rdpSettings *settings, UINT32 type) |
FREERDP_API void | freerdp_device_free (RDPDR_DEVICE *device) |
FREERDP_API RDPDR_DEVICE * | freerdp_device_new (UINT32 Type, size_t count, const char *const args[]) |
FREERDP_API RDPDR_DEVICE * | freerdp_device_clone (const RDPDR_DEVICE *device) |
FREERDP_API BOOL | freerdp_device_equal (const RDPDR_DEVICE *one, const RDPDR_DEVICE *other) |
FREERDP_API void | freerdp_device_collection_free (rdpSettings *settings) |
FREERDP_API BOOL | freerdp_static_channel_collection_add (rdpSettings *settings, ADDIN_ARGV *channel) |
FREERDP_API BOOL | freerdp_static_channel_collection_del (rdpSettings *settings, const char *name) |
FREERDP_API ADDIN_ARGV * | freerdp_static_channel_collection_find (rdpSettings *settings, const char *name) |
FREERDP_API void | freerdp_static_channel_collection_free (rdpSettings *settings) |
FREERDP_API BOOL | freerdp_dynamic_channel_collection_add (rdpSettings *settings, ADDIN_ARGV *channel) |
FREERDP_API BOOL | freerdp_dynamic_channel_collection_del (rdpSettings *settings, const char *name) |
FREERDP_API ADDIN_ARGV * | freerdp_dynamic_channel_collection_find (const rdpSettings *settings, const char *name) |
FREERDP_API void | freerdp_dynamic_channel_collection_free (rdpSettings *settings) |
FREERDP_API void | freerdp_capability_buffer_free (rdpSettings *settings) |
FREERDP_API BOOL | freerdp_capability_buffer_copy (rdpSettings *settings, const rdpSettings *src) |
FREERDP_API void | freerdp_server_license_issuers_free (rdpSettings *settings) |
FREERDP_API BOOL | freerdp_server_license_issuers_copy (rdpSettings *settings, char **addresses, UINT32 count) |
FREERDP_API void | freerdp_target_net_addresses_free (rdpSettings *settings) |
FREERDP_API BOOL | freerdp_target_net_addresses_copy (rdpSettings *settings, char **addresses, UINT32 count) |
FREERDP_API void | freerdp_performance_flags_make (rdpSettings *settings) |
FREERDP_API void | freerdp_performance_flags_split (rdpSettings *settings) |
FREERDP_API BOOL | freerdp_set_gateway_usage_method (rdpSettings *settings, UINT32 GatewayUsageMethod) |
FREERDP_API void | freerdp_update_gateway_usage_method (rdpSettings *settings, UINT32 GatewayEnabled, UINT32 GatewayBypassLocal) |
FREERDP_API BOOL | freerdp_settings_are_valid (const rdpSettings *settings) |
Returns TRUE if settings are in a valid state, FALSE otherwise. | |
FREERDP_API BOOL | freerdp_settings_get_bool (const rdpSettings *settings, FreeRDP_Settings_Keys_Bool id) |
Returns a boolean settings value. | |
FREERDP_API BOOL | freerdp_settings_set_bool (rdpSettings *settings, FreeRDP_Settings_Keys_Bool id, BOOL param) |
Sets a BOOL settings value. | |
FREERDP_API INT16 | freerdp_settings_get_int16 (const rdpSettings *settings, FreeRDP_Settings_Keys_Int16 id) |
Returns a INT16 settings value. | |
FREERDP_API BOOL | freerdp_settings_set_int16 (rdpSettings *settings, FreeRDP_Settings_Keys_Int16 id, INT16 param) |
Sets a INT16 settings value. | |
FREERDP_API UINT16 | freerdp_settings_get_uint16 (const rdpSettings *settings, FreeRDP_Settings_Keys_UInt16 id) |
Returns a UINT16 settings value. | |
FREERDP_API BOOL | freerdp_settings_set_uint16 (rdpSettings *settings, FreeRDP_Settings_Keys_UInt16 id, UINT16 param) |
Sets a UINT16 settings value. | |
FREERDP_API INT32 | freerdp_settings_get_int32 (const rdpSettings *settings, FreeRDP_Settings_Keys_Int32 id) |
Returns a INT32 settings value. | |
FREERDP_API BOOL | freerdp_settings_set_int32 (rdpSettings *settings, FreeRDP_Settings_Keys_Int32 id, INT32 param) |
Sets a INT32 settings value. | |
FREERDP_API UINT32 | freerdp_settings_get_uint32 (const rdpSettings *settings, FreeRDP_Settings_Keys_UInt32 id) |
Returns a UINT32 settings value. | |
FREERDP_API BOOL | freerdp_settings_set_uint32 (rdpSettings *settings, FreeRDP_Settings_Keys_UInt32 id, UINT32 param) |
Sets a UINT32 settings value. | |
FREERDP_API INT64 | freerdp_settings_get_int64 (const rdpSettings *settings, FreeRDP_Settings_Keys_Int64 id) |
Returns a INT64 settings value. | |
FREERDP_API BOOL | freerdp_settings_set_int64 (rdpSettings *settings, FreeRDP_Settings_Keys_Int64 id, INT64 param) |
Sets a INT64 settings value. | |
FREERDP_API UINT64 | freerdp_settings_get_uint64 (const rdpSettings *settings, FreeRDP_Settings_Keys_UInt64 id) |
Returns a UINT64 settings value. | |
FREERDP_API BOOL | freerdp_settings_set_uint64 (rdpSettings *settings, FreeRDP_Settings_Keys_UInt64 id, UINT64 param) |
Sets a UINT64 settings value. | |
FREERDP_API const char * | freerdp_settings_get_string (const rdpSettings *settings, FreeRDP_Settings_Keys_String id) |
Returns a immutable string settings value. | |
FREERDP_API char * | freerdp_settings_get_string_writable (rdpSettings *settings, FreeRDP_Settings_Keys_String id) |
Returns a string settings value. | |
FREERDP_API BOOL | freerdp_settings_set_string_len (rdpSettings *settings, FreeRDP_Settings_Keys_String id, const char *param, size_t len) |
Sets a string settings value. The param is copied. | |
FREERDP_API BOOL | freerdp_settings_set_string (rdpSettings *settings, FreeRDP_Settings_Keys_String id, const char *param) |
Sets a string settings value. The param is copied. | |
FREERDP_API BOOL | freerdp_settings_append_string (rdpSettings *settings, FreeRDP_Settings_Keys_String id, const char *separator, const char *param) |
appends a string to a settings value. The param is copied. If the initial value of the setting was not empty, | |
FREERDP_API BOOL | freerdp_settings_set_string_from_utf16 (rdpSettings *settings, FreeRDP_Settings_Keys_String id, const WCHAR *param) |
Sets a string settings value. The param is converted to UTF-8 and the copy stored. | |
FREERDP_API BOOL | freerdp_settings_set_string_from_utf16N (rdpSettings *settings, FreeRDP_Settings_Keys_String id, const WCHAR *param, size_t length) |
Sets a string settings value. The param is converted to UTF-8 and the copy stored. | |
FREERDP_API WCHAR * | freerdp_settings_get_string_as_utf16 (const rdpSettings *settings, FreeRDP_Settings_Keys_String id, size_t *pCharLen) |
Return an allocated UTF16 string. | |
FREERDP_API const void * | freerdp_settings_get_pointer (const rdpSettings *settings, FreeRDP_Settings_Keys_Pointer id) |
Returns a immutable pointer settings value. | |
FREERDP_API void * | freerdp_settings_get_pointer_writable (rdpSettings *settings, FreeRDP_Settings_Keys_Pointer id) |
Returns a mutable pointer settings value. | |
FREERDP_API BOOL | freerdp_settings_set_pointer (rdpSettings *settings, FreeRDP_Settings_Keys_Pointer id, const void *data) |
Set a pointer to value data. | |
FREERDP_API BOOL | freerdp_settings_set_pointer_len (rdpSettings *settings, FreeRDP_Settings_Keys_Pointer id, const void *data, size_t len) |
Set a pointer to value data. | |
FREERDP_API const void * | freerdp_settings_get_pointer_array (const rdpSettings *settings, FreeRDP_Settings_Keys_Pointer id, size_t offset) |
FREERDP_API void * | freerdp_settings_get_pointer_array_writable (const rdpSettings *settings, FreeRDP_Settings_Keys_Pointer id, size_t offset) |
FREERDP_API BOOL | freerdp_settings_set_pointer_array (rdpSettings *settings, FreeRDP_Settings_Keys_Pointer id, size_t offset, const void *data) |
to value \b value | |||||||
Set a setting Both, key and value are provided as strings and parsed internally. The value will be checked internally:
| |||||||
FREERDP_API BOOL | freerdp_settings_set_value_for_name (rdpSettings *settings, const char *name, const char *value) | ||||||
FREERDP_API SSIZE_T | freerdp_settings_get_key_for_name (const char *value) | ||||||
Get a key index for the name string of that key. | |||||||
FREERDP_API SSIZE_T | freerdp_settings_get_type_for_name (const char *value) | ||||||
Get a key type for the name string of that key. | |||||||
FREERDP_API SSIZE_T | freerdp_settings_get_type_for_key (SSIZE_T key) | ||||||
Get a key type for the key index. | |||||||
FREERDP_API const char * | freerdp_settings_get_type_name_for_key (SSIZE_T key) | ||||||
Returns the type name for a key. | |||||||
FREERDP_API const char * | freerdp_settings_get_type_name_for_type (SSIZE_T type) | ||||||
Returns the type name for a type. | |||||||
FREERDP_API const char * | freerdp_settings_get_name_for_key (SSIZE_T key) | ||||||
Returns the type name for a key. | |||||||
FREERDP_API UINT32 | freerdp_settings_get_codecs_flags (const rdpSettings *settings) | ||||||
helper function to get a mask of supported codec flags. | |||||||
FREERDP_API BOOL | freerdp_settings_update_from_caps (rdpSettings *settings, const BYTE *capsFlags, const BYTE **capsData, const UINT32 *capsSizes, UINT32 capsCount, BOOL serverReceivedCaps) | ||||||
Parse capability data and apply to settings. | |||||||
FREERDP_API const char * | freerdp_settings_get_server_name (const rdpSettings *settings) | ||||||
A helper function to return the correct server name. | |||||||
FREERDP_API const char * | freerdp_rail_support_flags_to_string (UINT32 flags, char *buffer, size_t length) | ||||||
Returns a stringified representation of RAIL support flags. | |||||||
FREERDP_API const char * | freerdp_rdp_version_string (UINT32 version) | ||||||
Returns a stringified representation of the RDP protocol version. | |||||||
FREERDP_API const char * | freerdp_rdpdr_dtyp_string (UINT32 type) | ||||||
Returns a string representation of RDPDR_DTYP_*. | |||||||
FREERDP_API const char * | freerdp_encryption_level_string (UINT32 EncryptionLevel) | ||||||
FREERDP_API const char * | freerdp_encryption_methods_string (UINT32 EncryptionLevel, char *buffer, size_t size) | ||||||
FREERDP_API const char * | freerdp_supported_color_depths_string (UINT16 mask, char *buffer, size_t size) | ||||||
returns a string representation of RNS_UD_XXBPP_SUPPORT values | |||||||
FREERDP_API char * | freerdp_settings_get_config_path (void) | ||||||
return the configuration directory for the library | |||||||
FREERDP_API BOOL | freerdp_settings_set_monitor_def_array_sorted (rdpSettings *settings, const rdpMonitor *monitors, size_t count) | ||||||
Sort monitor array according to: | |||||||
FREERDP_API char * | freerdp_settings_serialize (const rdpSettings *settings, BOOL pretty, size_t *plength) | ||||||
A function that converts a rdpSettings struct to a JSON serialized string. | |||||||
FREERDP_API rdpSettings * | freerdp_settings_deserialize (const char *json, size_t length) | ||||||
A function that converts a JSON string to a rdpSettings struct. | |||||||
This is the FreeRDP settings module.
FreeRDP: A Remote Desktop Protocol Implementation RDP Settings
Copyright 2009-2011 Jay Sorg Copyright 2010-2012 Marc-Andre Moreau marca.nosp@m.ndre.nosp@m..more.nosp@m.au@g.nosp@m.mail..nosp@m.com Copyright 2016 Armin Novak armin.nosp@m..nov.nosp@m.ak@gm.nosp@m.ail..nosp@m.com Copyright 2023 Armin Novak anova.nosp@m.k@th.nosp@m.incas.nosp@m.t.co.nosp@m.m Copyright 2023 Thincast Technologies GmbH
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.
Settings are used to store configuration data for an RDP connection. There are 3 different settings for each client and server:
The lifetime of the settings is as follows:
So, when accessing the settings always ensure to know which one you are operating on! (this is especially important for the proxy where you have a RDP client and RDP server in the same application context)
FreeRDP: A Remote Desktop Protocol Implementation RDP Settings
Copyright 2009-2011 Jay Sorg Copyright 2010-2012 Marc-Andre Moreau marca.nosp@m.ndre.nosp@m..more.nosp@m.au@g.nosp@m.mail..nosp@m.com Copyright 2016 Armin Novak armin.nosp@m..nov.nosp@m.ak@gm.nosp@m.ail..nosp@m.com Copyright 2023 Armin Novak anova.nosp@m.k@th.nosp@m.incas.nosp@m.t.co.nosp@m.m Copyright 2023 Thincast Technologies GmbH
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 Internal settings header for functions not exported
Copyright 2018 Armin Novak armin.nosp@m..nov.nosp@m.ak@th.nosp@m.inca.nosp@m.st.co.nosp@m.m Copyright 2018 Thincast Technologies GmbH
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.
struct TARGET_NET_ADDRESS |
Definition at line 290 of file settings_types.h.
Data Fields | ||
---|---|---|
LPWSTR | Address | |
UINT32 | Length |
struct ARC_CS_PRIVATE_PACKET |
Definition at line 347 of file settings_types.h.
Data Fields | ||
---|---|---|
UINT32 | cbLen | |
UINT32 | logonId | |
BYTE | securityVerifier[16] | |
UINT32 | version |
struct ARC_SC_PRIVATE_PACKET |
Definition at line 356 of file settings_types.h.
Data Fields | ||
---|---|---|
BYTE | arcRandomBits[16] | |
UINT32 | cbLen | |
UINT32 | logonId | |
UINT32 | version |
struct ADDIN_ARGV |
Definition at line 366 of file settings_types.h.
Data Fields | ||
---|---|---|
int | argc | |
char ** | argv |
struct rdp_ext_set |
Definition at line 374 of file settings_types.h.
Data Fields | ||
---|---|---|
void * | data | |
char | name[256] |
struct BITMAP_CACHE_CELL_INFO |
Definition at line 382 of file settings_types.h.
Data Fields | ||
---|---|---|
UINT16 | maxSize | |
UINT16 | numEntries |
struct BITMAP_CACHE_V2_CELL_INFO |
Definition at line 388 of file settings_types.h.
Data Fields | ||
---|---|---|
UINT32 | numEntries | |
BOOL | persistent |
struct GLYPH_CACHE_DEFINITION |
Definition at line 396 of file settings_types.h.
Data Fields | ||
---|---|---|
UINT16 | cacheEntries | |
UINT16 | cacheMaximumCellSize |
struct MONITOR_DEF |
Definition at line 404 of file settings_types.h.
Data Fields | ||
---|---|---|
INT32 | bottom | |
UINT32 | flags | |
INT32 | left | |
INT32 | right | |
INT32 | top |
struct MONITOR_ATTRIBUTES |
Definition at line 413 of file settings_types.h.
Data Fields | ||
---|---|---|
UINT32 | desktopScaleFactor | |
UINT32 | deviceScaleFactor | |
UINT32 | orientation | |
UINT32 | physicalHeight | |
UINT32 | physicalWidth |
struct rdpMonitor |
Definition at line 422 of file settings_types.h.
Data Fields | ||
---|---|---|
MONITOR_ATTRIBUTES | attributes | |
INT32 | height | |
UINT32 | is_primary | |
UINT32 | orig_screen | |
INT32 | width | |
INT32 | x | |
INT32 | y |
struct RDPDR_DEVICE |
Definition at line 440 of file settings_types.h.
Data Fields | ||
---|---|---|
UINT32 | Id | |
char * | Name | |
UINT32 | Type |
struct RDPDR_DRIVE |
Definition at line 447 of file settings_types.h.
Data Fields | ||
---|---|---|
BOOL | automount | |
RDPDR_DEVICE | device | |
char * | Path |
struct RDPDR_PRINTER |
Definition at line 454 of file settings_types.h.
Data Fields | ||
---|---|---|
RDPDR_DEVICE | device | |
char * | DriverName | |
BOOL | IsDefault |
struct RDPDR_SMARTCARD |
Definition at line 461 of file settings_types.h.
Data Fields | ||
---|---|---|
RDPDR_DEVICE | device |
struct RDPDR_SERIAL |
Definition at line 466 of file settings_types.h.
Data Fields | ||
---|---|---|
RDPDR_DEVICE | device | |
char * | Driver | |
char * | Path | |
char * | Permissive |
struct RDPDR_PARALLEL |
Definition at line 474 of file settings_types.h.
Data Fields | ||
---|---|---|
RDPDR_DEVICE | device | |
char * | Path |
#define AUDIO_MODE_NONE 2 /* Do not play */ |
Definition at line 144 of file settings_types.h.
#define AUDIO_MODE_PLAY_ON_SERVER 1 /* Leave at remote computer */ |
Definition at line 143 of file settings_types.h.
#define AUDIO_MODE_REDIRECT 0 /* Bring to this computer */ |
Definition at line 142 of file settings_types.h.
#define AUTO_RECONNECT_VERSION_1 0x00000001 |
Definition at line 224 of file settings_types.h.
#define CHANNEL_OPTION_COMPRESS 0x00400000 |
Definition at line 210 of file settings_types.h.
#define CHANNEL_OPTION_COMPRESS_RDP 0x00800000 |
Definition at line 209 of file settings_types.h.
#define CHANNEL_OPTION_ENCRYPT_CS 0x10000000 |
Definition at line 205 of file settings_types.h.
#define CHANNEL_OPTION_ENCRYPT_RDP 0x40000000 |
Definition at line 203 of file settings_types.h.
#define CHANNEL_OPTION_ENCRYPT_SC 0x20000000 |
Definition at line 204 of file settings_types.h.
#define CHANNEL_OPTION_INITIALIZED 0x80000000 |
Definition at line 202 of file settings_types.h.
#define CHANNEL_OPTION_PRI_HIGH 0x08000000 |
Definition at line 206 of file settings_types.h.
#define CHANNEL_OPTION_PRI_LOW 0x02000000 |
Definition at line 208 of file settings_types.h.
#define CHANNEL_OPTION_PRI_MED 0x04000000 |
Definition at line 207 of file settings_types.h.
#define CHANNEL_OPTION_SHOW_PROTOCOL 0x00200000 |
Definition at line 211 of file settings_types.h.
#define CHANNEL_REMOTE_CONTROL_PERSISTENT 0x00100000 |
Definition at line 212 of file settings_types.h.
#define CLIPRDR_FLAG_DEFAULT_MASK |
Definition at line 337 of file settings_types.h.
#define CLIPRDR_FLAG_LOCAL_TO_REMOTE 0x01 |
Definition at line 332 of file settings_types.h.
#define CLIPRDR_FLAG_LOCAL_TO_REMOTE_FILES 0x02 |
Definition at line 333 of file settings_types.h.
#define CLIPRDR_FLAG_REMOTE_TO_LOCAL 0x10 |
Definition at line 334 of file settings_types.h.
#define CLIPRDR_FLAG_REMOTE_TO_LOCAL_FILES 0x20 |
Definition at line 335 of file settings_types.h.
#define CONNECTION_TYPE_AUTODETECT 0x07 |
Definition at line 82 of file settings_types.h.
#define CONNECTION_TYPE_BROADBAND_HIGH 0x04 |
Definition at line 79 of file settings_types.h.
#define CONNECTION_TYPE_BROADBAND_LOW 0x02 |
Definition at line 77 of file settings_types.h.
#define CONNECTION_TYPE_INVALID |
Definition at line 74 of file settings_types.h.
#define CONNECTION_TYPE_LAN 0x06 |
Definition at line 81 of file settings_types.h.
#define CONNECTION_TYPE_MODEM 0x01 |
Definition at line 76 of file settings_types.h.
#define CONNECTION_TYPE_SATELLITE 0x03 |
Definition at line 78 of file settings_types.h.
#define CONNECTION_TYPE_WAN 0x05 |
Definition at line 80 of file settings_types.h.
#define CS_CLUSTER 0xC004 |
Definition at line 88 of file settings_types.h.
#define CS_CORE 0xC001 |
Definition at line 85 of file settings_types.h.
#define CS_MCS_MSGCHANNEL 0xC006 |
Definition at line 90 of file settings_types.h.
#define CS_MONITOR 0xC005 |
Definition at line 89 of file settings_types.h.
#define CS_MONITOR_EX 0xC008 |
Definition at line 91 of file settings_types.h.
#define CS_MULTITRANSPORT 0xC00A |
Definition at line 93 of file settings_types.h.
#define CS_NET 0xC003 |
Definition at line 87 of file settings_types.h.
#define CS_SECURITY 0xC002 |
Definition at line 86 of file settings_types.h.
#define CS_UNUSED1 0xC00C |
Definition at line 92 of file settings_types.h.
#define DEFAULT_COOKIE_MAX_LENGTH 0xFF |
Definition at line 228 of file settings_types.h.
#define ENCRYPTION_LEVEL_CLIENT_COMPATIBLE 0x00000002 |
Definition at line 191 of file settings_types.h.
#define ENCRYPTION_LEVEL_FIPS 0x00000004 |
Definition at line 193 of file settings_types.h.
#define ENCRYPTION_LEVEL_HIGH 0x00000003 |
Definition at line 192 of file settings_types.h.
#define ENCRYPTION_LEVEL_LOW 0x00000001 |
Definition at line 190 of file settings_types.h.
#define ENCRYPTION_LEVEL_NONE 0x00000000 |
Definition at line 189 of file settings_types.h.
#define ENCRYPTION_METHOD_128BIT 0x00000002 |
Definition at line 184 of file settings_types.h.
#define ENCRYPTION_METHOD_40BIT 0x00000001 |
Definition at line 183 of file settings_types.h.
#define ENCRYPTION_METHOD_56BIT 0x00000008 |
Definition at line 185 of file settings_types.h.
#define ENCRYPTION_METHOD_FIPS 0x00000010 |
Definition at line 186 of file settings_types.h.
#define ENCRYPTION_METHOD_NONE 0x00000000 |
Definition at line 182 of file settings_types.h.
#define FREERDP_MONITOR_OVERRIDE_DESKTOP_SCALE (1 << 1) /** @since version 3.15.0 */ |
Definition at line 343 of file settings_types.h.
#define FREERDP_MONITOR_OVERRIDE_DEVICE_SCALE (1 << 2) /** @since version 3.15.0 */ |
Definition at line 344 of file settings_types.h.
#define FREERDP_MONITOR_OVERRIDE_ORIENTATION (1 << 0) /** @since version 3.15.0 */ |
Definition at line 342 of file settings_types.h.
#define FREERDP_SETTINGS_REMOTE_MODE 0x00000002 |
Definition at line 81 of file include/freerdp/settings.h.
#define FREERDP_SETTINGS_SERVER_MODE 0x00000001 |
rdpSettings creation flags
Definition at line 80 of file include/freerdp/settings.h.
#define FREERDP_SETTINGS_SERVER_MODE 0x00000001 |
rdpSettings creation flags
Definition at line 504 of file settings_types.h.
#define GLYPH_SUPPORT_ENCODE 0x0003 |
Definition at line 271 of file settings_types.h.
#define GLYPH_SUPPORT_FULL 0x0002 |
Definition at line 270 of file settings_types.h.
#define GLYPH_SUPPORT_NONE 0x0000 |
Definition at line 268 of file settings_types.h.
#define GLYPH_SUPPORT_PARTIAL 0x0001 |
Definition at line 269 of file settings_types.h.
#define KEYBOARD_HOOK_FULLSCREEN_ONLY 2 |
Definition at line 288 of file settings_types.h.
#define KEYBOARD_HOOK_LOCAL 0 |
Definition at line 286 of file settings_types.h.
#define KEYBOARD_HOOK_REMOTE 1 |
Definition at line 287 of file settings_types.h.
#define LARGE_POINTER_FLAG_384x384 0x00000002 |
Definition at line 221 of file settings_types.h.
#define LARGE_POINTER_FLAG_96x96 0x00000001 |
Definition at line 220 of file settings_types.h.
#define LOGON_FAILED_BAD_PASSWORD 0x00000000 |
Definition at line 304 of file settings_types.h.
#define LOGON_FAILED_OTHER 0x00000002 |
Definition at line 306 of file settings_types.h.
#define LOGON_FAILED_UPDATE_PASSWORD 0x00000001 |
Definition at line 305 of file settings_types.h.
#define LOGON_MSG_BUMP_OPTIONS 0xFFFFFFFB |
Definition at line 299 of file settings_types.h.
#define LOGON_MSG_DISCONNECT_REFUSED 0xFFFFFFF9 |
Definition at line 297 of file settings_types.h.
#define LOGON_MSG_NO_PERMISSION 0xFFFFFFFA |
Definition at line 298 of file settings_types.h.
#define LOGON_MSG_RECONNECT_OPTIONS 0xFFFFFFFC |
Definition at line 300 of file settings_types.h.
#define LOGON_MSG_SESSION_CONTINUE 0xFFFFFFFE |
Definition at line 302 of file settings_types.h.
#define LOGON_MSG_SESSION_TERMINATE 0xFFFFFFFD |
Definition at line 301 of file settings_types.h.
#define LOGON_WARNING 0x00000003 |
Definition at line 307 of file settings_types.h.
#define MONITOR_PRIMARY 0x00000001 |
Definition at line 179 of file settings_types.h.
#define MSTSC_COOKIE_MAX_LENGTH 9 |
Definition at line 227 of file settings_types.h.
#define NEG_AEXTTEXTOUT_INDEX 0x06 /* Must be ignored */ |
Definition at line 240 of file settings_types.h.
#define NEG_ATEXTOUT_INDEX 0x05 |
Definition at line 239 of file settings_types.h.
#define NEG_DRAWNINEGRID_INDEX 0x07 /* Must be ignored */ |
Definition at line 241 of file settings_types.h.
#define NEG_DSTBLT_INDEX 0x00 |
Definition at line 234 of file settings_types.h.
#define NEG_ELLIPSE_CB_INDEX 0x1A |
Definition at line 260 of file settings_types.h.
#define NEG_ELLIPSE_SC_INDEX 0x19 |
Definition at line 259 of file settings_types.h.
#define NEG_FAST_GLYPH_INDEX 0x18 |
Definition at line 258 of file settings_types.h.
#define NEG_FAST_INDEX_INDEX 0x13 |
Definition at line 253 of file settings_types.h.
#define NEG_GLYPH_INDEX_INDEX 0x1B |
Definition at line 261 of file settings_types.h.
#define NEG_GLYPH_WEXTTEXTOUT_INDEX 0x1C /* Must be ignored */ |
Definition at line 262 of file settings_types.h.
#define NEG_GLYPH_WLONGEXTTEXTOUT_INDEX 0x1E /* Must be ignored */ |
Definition at line 264 of file settings_types.h.
#define NEG_GLYPH_WLONGTEXTOUT_INDEX 0x1D /* Must be ignored */ |
Definition at line 263 of file settings_types.h.
#define NEG_LINETO_INDEX 0x08 |
Definition at line 242 of file settings_types.h.
#define NEG_MEM3BLT_INDEX 0x04 |
Definition at line 238 of file settings_types.h.
#define NEG_MEM3BLT_V2_INDEX 0x0E /* Must be ignored */ |
Definition at line 248 of file settings_types.h.
#define NEG_MEMBLT_INDEX 0x03 |
Definition at line 237 of file settings_types.h.
#define NEG_MEMBLT_V2_INDEX 0x0D /* Must be ignored */ |
Definition at line 247 of file settings_types.h.
#define NEG_MULTI_DRAWNINEGRID_INDEX 0x09 |
Definition at line 243 of file settings_types.h.
#define NEG_MULTIDSTBLT_INDEX 0x0F |
Definition at line 249 of file settings_types.h.
#define NEG_MULTIOPAQUERECT_INDEX 0x12 |
Definition at line 252 of file settings_types.h.
#define NEG_MULTIPATBLT_INDEX 0x10 |
Definition at line 250 of file settings_types.h.
#define NEG_MULTISCRBLT_INDEX 0x11 |
Definition at line 251 of file settings_types.h.
#define NEG_OPAQUE_RECT_INDEX 0x0A /* Must be ignored */ |
Definition at line 244 of file settings_types.h.
#define NEG_PATBLT_INDEX 0x01 |
Definition at line 235 of file settings_types.h.
#define NEG_POLYGON_CB_INDEX 0x15 |
Definition at line 255 of file settings_types.h.
#define NEG_POLYGON_SC_INDEX 0x14 |
Definition at line 254 of file settings_types.h.
#define NEG_POLYLINE_INDEX 0x16 |
Definition at line 256 of file settings_types.h.
#define NEG_SAVEBITMAP_INDEX 0x0B |
Definition at line 245 of file settings_types.h.
#define NEG_SCRBLT_INDEX 0x02 |
Definition at line 236 of file settings_types.h.
#define NEG_UNUSED23_INDEX 0x17 /* Must be ignored */ |
Definition at line 257 of file settings_types.h.
#define NEG_UNUSED31_INDEX 0x1F /* Must be ignored */ |
Definition at line 265 of file settings_types.h.
#define NEG_WTEXTOUT_INDEX 0x0C /* Must be ignored */ |
Definition at line 246 of file settings_types.h.
#define ORIENTATION_LANDSCAPE 0 |
Definition at line 326 of file settings_types.h.
#define ORIENTATION_LANDSCAPE_FLIPPED 180 |
Definition at line 328 of file settings_types.h.
#define ORIENTATION_PORTRAIT 90 |
Definition at line 327 of file settings_types.h.
#define ORIENTATION_PORTRAIT_FLIPPED 270 |
Definition at line 329 of file settings_types.h.
#define PACKET_COMPR_TYPE_64K 0x01 |
Definition at line 320 of file settings_types.h.
#define PACKET_COMPR_TYPE_8K 0x00 |
Definition at line 319 of file settings_types.h.
#define PACKET_COMPR_TYPE_RDP6 0x02 |
Definition at line 321 of file settings_types.h.
#define PACKET_COMPR_TYPE_RDP61 0x03 |
Definition at line 322 of file settings_types.h.
#define PACKET_COMPR_TYPE_RDP8 0x04 |
Definition at line 323 of file settings_types.h.
#define PERF_DISABLE_CURSOR_SHADOW 0x00000020 |
Definition at line 68 of file settings_types.h.
#define PERF_DISABLE_CURSORSETTINGS 0x00000040 |
Definition at line 69 of file settings_types.h.
#define PERF_DISABLE_FULLWINDOWDRAG 0x00000002 |
Definition at line 65 of file settings_types.h.
#define PERF_DISABLE_MENUANIMATIONS 0x00000004 |
Definition at line 66 of file settings_types.h.
#define PERF_DISABLE_THEMING 0x00000008 |
Definition at line 67 of file settings_types.h.
#define PERF_DISABLE_WALLPAPER 0x00000001 |
Definition at line 64 of file settings_types.h.
#define PERF_ENABLE_DESKTOP_COMPOSITION 0x00000100 |
Definition at line 71 of file settings_types.h.
#define PERF_ENABLE_FONT_SMOOTHING 0x00000080 |
Definition at line 70 of file settings_types.h.
#define PERF_FLAG_NONE 0x00000000 |
Definition at line 63 of file settings_types.h.
#define PROXY_TYPE_HTTP 1 |
Definition at line 481 of file settings_types.h.
#define PROXY_TYPE_IGNORE 0xFFFF |
Definition at line 483 of file settings_types.h.
#define PROXY_TYPE_NONE 0 |
Definition at line 480 of file settings_types.h.
#define PROXY_TYPE_SOCKS 2 |
Definition at line 482 of file settings_types.h.
#define RAIL_LEVEL_DOCKED_LANGBAR_SUPPORTED 0x00000002 |
Definition at line 54 of file settings_types.h.
#define RAIL_LEVEL_HANDSHAKE_EX_SUPPORTED 0x00000080 |
Definition at line 60 of file settings_types.h.
#define RAIL_LEVEL_HIDE_MINIMIZED_APPS_SUPPORTED 0x00000020 |
Definition at line 58 of file settings_types.h.
#define RAIL_LEVEL_LANGUAGE_IME_SYNC_SUPPORTED 0x00000008 |
Definition at line 56 of file settings_types.h.
#define RAIL_LEVEL_SERVER_TO_CLIENT_IME_SYNC_SUPPORTED 0x00000010 |
Definition at line 57 of file settings_types.h.
#define RAIL_LEVEL_SHELL_INTEGRATION_SUPPORTED 0x00000004 |
Definition at line 55 of file settings_types.h.
#define RAIL_LEVEL_SUPPORTED 0x00000001 |
Definition at line 53 of file settings_types.h.
#define RAIL_LEVEL_WINDOW_CLOAKING_SUPPORTED 0x00000040 |
Definition at line 59 of file settings_types.h.
#define RDPDR_DTYP_FILESYSTEM 0x00000008 |
Definition at line 437 of file settings_types.h.
#define RDPDR_DTYP_PARALLEL 0x00000002 |
Definition at line 435 of file settings_types.h.
#define RDPDR_DTYP_PRINT 0x00000004 |
Definition at line 436 of file settings_types.h.
#define RDPDR_DTYP_SERIAL 0x00000001 |
Definition at line 434 of file settings_types.h.
#define RDPDR_DTYP_SMARTCARD 0x00000020 |
Definition at line 438 of file settings_types.h.
#define REDIRECTED_SESSIONID_FIELD_VALID 0x00000002 |
Definition at line 168 of file settings_types.h.
#define REDIRECTED_SMARTCARD 0x00000040 |
Definition at line 169 of file settings_types.h.
#define REDIRECTION_SUPPORTED 0x00000001 |
Definition at line 167 of file settings_types.h.
#define REDIRECTION_VERSION1 0x00 |
Definition at line 172 of file settings_types.h.
#define REDIRECTION_VERSION2 0x01 |
Definition at line 173 of file settings_types.h.
#define REDIRECTION_VERSION3 0x02 |
Definition at line 174 of file settings_types.h.
#define REDIRECTION_VERSION4 0x03 |
Definition at line 175 of file settings_types.h.
#define REDIRECTION_VERSION5 0x04 |
Definition at line 176 of file settings_types.h.
#define REDIRECTION_VERSION6 0x05 |
Definition at line 177 of file settings_types.h.
#define RNS_UD_15BPP_SUPPORT 0x0004 |
Definition at line 138 of file settings_types.h.
#define RNS_UD_16BPP_SUPPORT 0x0002 |
Definition at line 137 of file settings_types.h.
#define RNS_UD_24BPP_SUPPORT 0x0001 |
Definition at line 136 of file settings_types.h.
#define RNS_UD_32BPP_SUPPORT 0x0008 |
Definition at line 139 of file settings_types.h.
#define RNS_UD_COLOR_16BPP_555 0xCA02 |
Definition at line 128 of file settings_types.h.
#define RNS_UD_COLOR_16BPP_565 0xCA03 |
Definition at line 129 of file settings_types.h.
#define RNS_UD_COLOR_24BPP 0xCA04 |
Definition at line 130 of file settings_types.h.
#define RNS_UD_COLOR_4BPP 0xCA00 |
Definition at line 126 of file settings_types.h.
#define RNS_UD_COLOR_8BPP 0xCA01 |
Definition at line 127 of file settings_types.h.
#define RNS_UD_CS_RELATIVE_MOUSE_INPUT 0x0010 |
Definition at line 151 of file settings_types.h.
#define RNS_UD_CS_STRONG_ASYMMETRIC_KEYS 0x0008 |
Definition at line 150 of file settings_types.h.
#define RNS_UD_CS_SUPPORT_DYNAMIC_TIME_ZONE 0x0200 |
Definition at line 156 of file settings_types.h.
#define RNS_UD_CS_SUPPORT_DYNVC_GFX_PROTOCOL 0x0100 |
Definition at line 155 of file settings_types.h.
#define RNS_UD_CS_SUPPORT_ERRINFO_PDU 0x0001 |
Definition at line 147 of file settings_types.h.
#define RNS_UD_CS_SUPPORT_HEARTBEAT_PDU 0x0400 |
Definition at line 157 of file settings_types.h.
#define RNS_UD_CS_SUPPORT_MONITOR_LAYOUT_PDU 0x0040 |
Definition at line 153 of file settings_types.h.
#define RNS_UD_CS_SUPPORT_NETCHAR_AUTODETECT 0x0080 |
Definition at line 154 of file settings_types.h.
#define RNS_UD_CS_SUPPORT_SKIP_CHANNELJOIN 0x0800 |
Definition at line 158 of file settings_types.h.
#define RNS_UD_CS_SUPPORT_STATUSINFO_PDU 0x0004 |
Definition at line 149 of file settings_types.h.
#define RNS_UD_CS_VALID_CONNECTION_TYPE 0x0020 |
Definition at line 152 of file settings_types.h.
#define RNS_UD_CS_WANT_32BPP_SESSION 0x0002 |
Definition at line 148 of file settings_types.h.
#define RNS_UD_SAS_DEL 0xAA03 |
Definition at line 133 of file settings_types.h.
#define RNS_UD_SC_DYNAMIC_DST_SUPPORTED 0x00000002 |
Definition at line 162 of file settings_types.h.
#define RNS_UD_SC_EDGE_ACTIONS_SUPPORTED_V1 0x00000001 |
Definition at line 161 of file settings_types.h.
#define RNS_UD_SC_EDGE_ACTIONS_SUPPORTED_V2 0x00000004 |
Definition at line 163 of file settings_types.h.
#define RNS_UD_SC_SKIP_CHANNELJOIN_SUPPORTED 0x00000008 |
Definition at line 164 of file settings_types.h.
#define SC_CORE 0x0C01 |
Definition at line 96 of file settings_types.h.
#define SC_MCS_MSGCHANNEL 0x0C04 |
Definition at line 99 of file settings_types.h.
#define SC_MULTITRANSPORT 0x0C08 |
Definition at line 100 of file settings_types.h.
#define SC_NET 0x0C03 |
Definition at line 98 of file settings_types.h.
#define SC_SECURITY 0x0C02 |
Definition at line 97 of file settings_types.h.
#define ServerSessionRedirectionVersionMask 0x0000003c |
Definition at line 171 of file settings_types.h.
#define SETTINGS_DEPRECATED | ( | x | ) | WINPR_DEPRECATED(x) |
Definition at line 45 of file settings_types_private.h.
#define SOFTSYNC_TCP_TO_UDP 0x00000200 |
Definition at line 199 of file settings_types.h.
#define STATUS_BRINGING_SESSION_ONLINE 0x00000403 |
Definition at line 312 of file settings_types.h.
#define STATUS_FINDING_DESTINATION 0x00000401 |
Definition at line 310 of file settings_types.h.
#define STATUS_LOADING_DESTINATION 0x00000402 |
Definition at line 311 of file settings_types.h.
#define STATUS_REDIRECTING_TO_DESTINATION 0x00000404 |
Definition at line 313 of file settings_types.h.
#define STATUS_VM_BOOTING 0x00000503 |
Definition at line 316 of file settings_types.h.
#define STATUS_VM_LOADING 0x00000501 |
Definition at line 314 of file settings_types.h.
#define STATUS_VM_WAKING 0x00000502 |
Definition at line 315 of file settings_types.h.
#define SURFCMDS_FRAME_MARKER 0x00000010 /** @since version 3.7.0 */ |
Definition at line 49 of file settings_types.h.
#define SURFCMDS_SET_SURFACE_BITS 0x00000002 /** @since version 3.7.0 */ |
Definition at line 48 of file settings_types.h.
#define SURFCMDS_STREAM_SURFACE_BITS 0x00000040 /** @since version 3.7.0 */ |
Definition at line 50 of file settings_types.h.
#define THREADING_FLAGS_DISABLE_THREADS 0x00000001 |
Definition at line 486 of file settings_types.h.
#define TRANSPORT_TYPE_UDP_FECL 0x00000004 |
Definition at line 197 of file settings_types.h.
#define TRANSPORT_TYPE_UDP_FECR 0x00000001 |
Definition at line 196 of file settings_types.h.
#define TRANSPORT_TYPE_UDP_PREFERRED 0x00000100 |
Definition at line 198 of file settings_types.h.
#define TS_CAPS_PROTOCOLVERSION 0x200 /** @since version 3.6.0 */ |
Definition at line 231 of file settings_types.h.
#define TSC_PROXY_CREDS_MODE_ANY 0x2 |
Definition at line 283 of file settings_types.h.
#define TSC_PROXY_CREDS_MODE_SMARTCARD 0x1 |
Definition at line 282 of file settings_types.h.
#define TSC_PROXY_CREDS_MODE_USERPASS 0x0 |
Definition at line 281 of file settings_types.h.
#define TSC_PROXY_MODE_DEFAULT 0x3 |
Definition at line 277 of file settings_types.h.
#define TSC_PROXY_MODE_DETECT 0x2 |
Definition at line 276 of file settings_types.h.
#define TSC_PROXY_MODE_DIRECT 0x1 |
Definition at line 275 of file settings_types.h.
#define TSC_PROXY_MODE_NONE_DETECT 0x4 |
Definition at line 278 of file settings_types.h.
#define TSC_PROXY_MODE_NONE_DIRECT 0x0 |
Definition at line 274 of file settings_types.h.
#define VCCAPS_COMPR_CS_8K 0x00000002 |
Definition at line 217 of file settings_types.h.
#define VCCAPS_COMPR_SC 0x00000001 |
Definition at line 216 of file settings_types.h.
#define VCCAPS_NO_COMPR 0x00000000 |
Definition at line 215 of file settings_types.h.
enum rdp_settings_type |
Definition at line 488 of file settings_types.h.
enum RDP_VERSION |
Definition at line 106 of file settings_types.h.
FREERDP_API BOOL freerdp_addin_argv_add_argument | ( | ADDIN_ARGV * | args, |
const char * | argument | ||
) |
Definition at line 69 of file common/settings.c.
FREERDP_API BOOL freerdp_addin_argv_add_argument_ex | ( | ADDIN_ARGV * | args, |
const char * | argument, | ||
size_t | len | ||
) |
Definition at line 45 of file common/settings.c.
FREERDP_API ADDIN_ARGV * freerdp_addin_argv_clone | ( | const ADDIN_ARGV * | args | ) |
Definition at line 815 of file common/settings.c.
FREERDP_API BOOL freerdp_addin_argv_del_argument | ( | ADDIN_ARGV * | args, |
const char * | argument | ||
) |
Definition at line 74 of file common/settings.c.
FREERDP_API void freerdp_addin_argv_free | ( | ADDIN_ARGV * | args | ) |
Definition at line 765 of file common/settings.c.
FREERDP_API ADDIN_ARGV * freerdp_addin_argv_new | ( | size_t | argc, |
const char *const | argv[] | ||
) |
Definition at line 780 of file common/settings.c.
FREERDP_API int freerdp_addin_replace_argument | ( | ADDIN_ARGV * | args, |
const char * | previous, | ||
const char * | argument | ||
) |
Definition at line 114 of file common/settings.c.
FREERDP_API int freerdp_addin_replace_argument_value | ( | ADDIN_ARGV * | args, |
const char * | previous, | ||
const char * | option, | ||
const char * | value | ||
) |
Definition at line 176 of file common/settings.c.
FREERDP_API int freerdp_addin_set_argument | ( | ADDIN_ARGV * | args, |
const char * | argument | ||
) |
Definition at line 96 of file common/settings.c.
FREERDP_API int freerdp_addin_set_argument_value | ( | ADDIN_ARGV * | args, |
const char * | option, | ||
const char * | value | ||
) |
Definition at line 137 of file common/settings.c.
FREERDP_API BOOL freerdp_capability_buffer_copy | ( | rdpSettings * | settings, |
const rdpSettings * | src | ||
) |
Definition at line 926 of file common/settings.c.
FREERDP_API void freerdp_capability_buffer_free | ( | rdpSettings * | settings | ) |
Definition at line 864 of file common/settings.c.
FREERDP_API RDPDR_DEVICE * freerdp_device_clone | ( | const RDPDR_DEVICE * | device | ) |
Definition at line 462 of file common/settings.c.
FREERDP_API BOOL freerdp_device_collection_add | ( | rdpSettings * | settings, |
RDPDR_DEVICE * | device | ||
) |
Definition at line 209 of file common/settings.c.
FREERDP_API BOOL freerdp_device_collection_del | ( | rdpSettings * | settings, |
const RDPDR_DEVICE * | device | ||
) |
Removed a device from the settings, returns ownership of the allocated device to caller.
settings | the settings to remove the device from |
device | the device to remove |
Definition at line 240 of file common/settings.c.
FREERDP_API RDPDR_DEVICE * freerdp_device_collection_find | ( | rdpSettings * | settings, |
const char * | name | ||
) |
Definition at line 267 of file common/settings.c.
FREERDP_API RDPDR_DEVICE * freerdp_device_collection_find_type | ( | rdpSettings * | settings, |
UINT32 | type | ||
) |
Definition at line 287 of file common/settings.c.
FREERDP_API void freerdp_device_collection_free | ( | rdpSettings * | settings | ) |
Definition at line 560 of file common/settings.c.
FREERDP_API BOOL freerdp_device_equal | ( | const RDPDR_DEVICE * | one, |
const RDPDR_DEVICE * | other | ||
) |
Definition at line 2059 of file common/settings.c.
FREERDP_API void freerdp_device_free | ( | RDPDR_DEVICE * | device | ) |
Definition at line 420 of file common/settings.c.
FREERDP_API RDPDR_DEVICE * freerdp_device_new | ( | UINT32 | Type, |
size_t | count, | ||
const char *const | args[] | ||
) |
Definition at line 303 of file common/settings.c.
FREERDP_API BOOL freerdp_dynamic_channel_collection_add | ( | rdpSettings * | settings, |
ADDIN_ARGV * | channel | ||
) |
Definition at line 713 of file common/settings.c.
FREERDP_API BOOL freerdp_dynamic_channel_collection_del | ( | rdpSettings * | settings, |
const char * | name | ||
) |
Definition at line 683 of file common/settings.c.
FREERDP_API ADDIN_ARGV * freerdp_dynamic_channel_collection_find | ( | const rdpSettings * | settings, |
const char * | name | ||
) |
Definition at line 748 of file common/settings.c.
FREERDP_API void freerdp_dynamic_channel_collection_free | ( | rdpSettings * | settings | ) |
Definition at line 828 of file common/settings.c.
FREERDP_API const char * freerdp_encryption_level_string | ( | UINT32 | EncryptionLevel | ) |
Definition at line 2317 of file common/settings.c.
FREERDP_API const char * freerdp_encryption_methods_string | ( | UINT32 | EncryptionLevel, |
char * | buffer, | ||
size_t | size | ||
) |
Definition at line 2336 of file common/settings.c.
FREERDP_API void freerdp_performance_flags_make | ( | rdpSettings * | settings | ) |
Definition at line 1053 of file common/settings.c.
FREERDP_API void freerdp_performance_flags_split | ( | rdpSettings * | settings | ) |
Definition at line 1077 of file common/settings.c.
FREERDP_API const char * freerdp_rail_support_flags_to_string | ( | UINT32 | flags, |
char * | buffer, | ||
size_t | length | ||
) |
Returns a stringified representation of RAIL support flags.
flags | The flags to stringify |
buffer | A pointer to the string buffer to write to |
length | The size of the string buffer |
Definition at line 2146 of file common/settings.c.
FREERDP_API const char * freerdp_rdp_version_string | ( | UINT32 | version | ) |
Returns a stringified representation of the RDP protocol version.
version | The RDP protocol version number. |
Definition at line 2208 of file common/settings.c.
FREERDP_API const char * freerdp_rdpdr_dtyp_string | ( | UINT32 | type | ) |
Returns a string representation of RDPDR_DTYP_*.
type | The integer of the RDPDR_DTYP_* to stringify |
Definition at line 2298 of file common/settings.c.
FREERDP_API BOOL freerdp_server_license_issuers_copy | ( | rdpSettings * | settings, |
char ** | addresses, | ||
UINT32 | count | ||
) |
Definition at line 1033 of file common/settings.c.
FREERDP_API void freerdp_server_license_issuers_free | ( | rdpSettings * | settings | ) |
Definition at line 1019 of file common/settings.c.
FREERDP_API BOOL freerdp_set_gateway_usage_method | ( | rdpSettings * | settings, |
UINT32 | GatewayUsageMethod | ||
) |
This corresponds to "Automatically detect RD Gateway server settings", which means the client attempts to use gateway group policy settings http://technet.microsoft.com/en-us/library/cc770601.aspx
Definition at line 1115 of file common/settings.c.
References freerdp_settings_set_bool(), and freerdp_settings_set_uint32().
FREERDP_API BOOL freerdp_settings_append_string | ( | rdpSettings * | settings, |
FreeRDP_Settings_Keys_String | id, | ||
const char * | separator, | ||
const char * | param | ||
) |
appends a string to a settings value. The param is copied. If the initial value of the setting was not empty,
is created
settings | A pointer to the settings to query, must not be NULL. |
id | The key to query |
separator | The separator string to use. May be NULL (no separator) |
param | The value to append |
Definition at line 2389 of file common/settings.c.
References freerdp_settings_get_string(), and freerdp_settings_set_string_len().
FREERDP_API BOOL freerdp_settings_are_valid | ( | const rdpSettings * | settings | ) |
Returns TRUE if settings are in a valid state, FALSE otherwise.
This function is meant to replace tideous return checks for freerdp_settings_set_* with a single check after these calls.
settings | the settings instance to check |
Definition at line 2409 of file common/settings.c.
FREERDP_API rdpSettings * freerdp_settings_clone | ( | const rdpSettings * | settings | ) |
Creates a deep copy of settings.
settings | A pointer to a settings struct to copy. May be NULL (returns NULL) |
Definition at line 1519 of file core/settings.c.
References freerdp_settings_copy(), and freerdp_settings_free().
FREERDP_API BOOL freerdp_settings_copy | ( | rdpSettings * | dst, |
const rdpSettings * | src | ||
) |
Deep copies settings from src to dst.
The function frees up all allocated data in dst before copying the data from src
dst | A pointer for the settings to copy data to. May be NULL (fails copy) |
src | A pointer to the settings to copy. May be NULL (fails copy) |
Definition at line 1491 of file core/settings.c.
Referenced by freerdp_settings_clone().
FREERDP_API BOOL freerdp_settings_copy_item | ( | rdpSettings * | dst, |
const rdpSettings * | src, | ||
SSIZE_T | id | ||
) |
copies one setting identified by id from src to dst
The function frees up all allocated data in dst before copying the data from src
dst | A pointer for the settings to copy data to. May be NULL (fails copy) |
src | A pointer to the settings to copy. May be NULL (fails copy) |
id | The settings identifier to copy |
Definition at line 432 of file settings_str.c.
References freerdp_settings_get_bool(), freerdp_settings_get_int16(), freerdp_settings_get_int32(), freerdp_settings_get_int64(), freerdp_settings_get_pointer(), freerdp_settings_get_string(), freerdp_settings_get_type_for_key(), freerdp_settings_get_uint16(), freerdp_settings_get_uint32(), freerdp_settings_get_uint64(), freerdp_settings_set_bool(), freerdp_settings_set_int16(), freerdp_settings_set_int32(), freerdp_settings_set_int64(), freerdp_settings_set_pointer(), freerdp_settings_set_string(), freerdp_settings_set_uint16(), freerdp_settings_set_uint32(), and freerdp_settings_set_uint64().
FREERDP_API rdpSettings * freerdp_settings_deserialize | ( | const char * | json, |
size_t | length | ||
) |
A function that converts a JSON string to a rdpSettings struct.
json | The JSON string |
length | The strlen of the JSON string |
Definition at line 4313 of file common/settings.c.
References freerdp_settings_free(), freerdp_settings_get_name_for_key(), freerdp_settings_get_type_for_key(), freerdp_settings_get_type_name_for_type(), freerdp_settings_new(), freerdp_settings_set_bool(), freerdp_settings_set_int16(), freerdp_settings_set_int32(), freerdp_settings_set_int64(), freerdp_settings_set_string(), freerdp_settings_set_uint16(), freerdp_settings_set_uint32(), freerdp_settings_set_uint64(), WINPR_JSON_Delete(), WINPR_JSON_GetObjectItem(), WINPR_JSON_GetStringValue(), WINPR_JSON_IsBool(), WINPR_JSON_IsNull(), WINPR_JSON_IsString(), WINPR_JSON_IsTrue(), and WINPR_JSON_ParseWithLength().
FREERDP_API void freerdp_settings_dump | ( | wLog * | log, |
DWORD | level, | ||
const rdpSettings * | settings | ||
) |
Dumps the contents of a settings struct to a WLog logger.
log | The logger to write to, must not be NULL |
level | The WLog level to use for the log entries |
settings | A pointer to the settings to dump. May be NULL. |
Definition at line 249 of file settings_str.c.
References freerdp_settings_get_bool(), freerdp_settings_get_int16(), freerdp_settings_get_int32(), freerdp_settings_get_int64(), freerdp_settings_get_pointer(), freerdp_settings_get_string(), freerdp_settings_get_uint16(), freerdp_settings_get_uint32(), and freerdp_settings_get_uint64().
FREERDP_API void freerdp_settings_free | ( | rdpSettings * | settings | ) |
Free a settings struct with all data in it.
settings | A pointer to the settings to free, May be NULL |
Definition at line 1278 of file core/settings.c.
Referenced by freerdp_settings_clone(), freerdp_settings_deserialize(), and freerdp_settings_new().
FREERDP_API BOOL freerdp_settings_get_bool | ( | const rdpSettings * | settings, |
FreeRDP_Settings_Keys_Bool | id | ||
) |
Returns a boolean settings value.
settings | A pointer to the settings to query, must not be NULL. |
id | The key to query |
Referenced by freerdp_settings_copy_item(), freerdp_settings_dump(), freerdp_settings_new(), freerdp_settings_print_diff(), freerdp_settings_serialize(), and AppDelegate::rdpConnectError:.
FREERDP_API UINT32 freerdp_settings_get_codecs_flags | ( | const rdpSettings * | settings | ) |
helper function to get a mask of supported codec flags.
This function checks various settings to create a mask of supported codecs FreeRDP_CodecFlags defines the codecs
settings | the settings to check |
Definition at line 2000 of file common/settings.c.
FREERDP_API char * freerdp_settings_get_config_path | ( | void | ) |
return the configuration directory for the library
Definition at line 767 of file core/settings.c.
Referenced by freerdp_settings_new().
FREERDP_API INT16 freerdp_settings_get_int16 | ( | const rdpSettings * | settings, |
FreeRDP_Settings_Keys_Int16 | id | ||
) |
Returns a INT16 settings value.
settings | A pointer to the settings to query, must not be NULL. |
id | The key to query |
Referenced by freerdp_settings_copy_item(), freerdp_settings_dump(), freerdp_settings_print_diff(), and freerdp_settings_serialize().
FREERDP_API INT32 freerdp_settings_get_int32 | ( | const rdpSettings * | settings, |
FreeRDP_Settings_Keys_Int32 | id | ||
) |
Returns a INT32 settings value.
settings | A pointer to the settings to query, must not be NULL. |
id | The key to query |
Referenced by freerdp_settings_copy_item(), freerdp_settings_dump(), freerdp_settings_print_diff(), and freerdp_settings_serialize().
FREERDP_API INT64 freerdp_settings_get_int64 | ( | const rdpSettings * | settings, |
FreeRDP_Settings_Keys_Int64 | id | ||
) |
Returns a INT64 settings value.
settings | A pointer to the settings to query, must not be NULL. |
id | The key to query |
Referenced by freerdp_settings_copy_item(), freerdp_settings_dump(), freerdp_settings_print_diff(), and freerdp_settings_serialize().
FREERDP_API SSIZE_T freerdp_settings_get_key_for_name | ( | const char * | value | ) |
Get a key index for the name string of that key.
value | A key name string like FreeRDP_ServerMode |
Definition at line 351 of file settings_str.c.
FREERDP_API const char * freerdp_settings_get_name_for_key | ( | SSIZE_T | key | ) |
Returns the type name for a key.
key | the key number to stringify |
Definition at line 421 of file settings_str.c.
Referenced by freerdp_settings_deserialize(), freerdp_settings_get_pointer_writable(), freerdp_settings_get_string_writable(), and freerdp_settings_serialize().
FREERDP_API const void * freerdp_settings_get_pointer | ( | const rdpSettings * | settings, |
FreeRDP_Settings_Keys_Pointer | id | ||
) |
Returns a immutable pointer settings value.
settings | A pointer to the settings to query, must not be NULL. |
id | The key to query |
Definition at line 1419 of file common/settings.c.
References freerdp_settings_get_pointer_writable().
Referenced by freerdp_settings_copy_item(), freerdp_settings_dump(), and freerdp_settings_print_diff().
FREERDP_API const void * freerdp_settings_get_pointer_array | ( | const rdpSettings * | settings, |
FreeRDP_Settings_Keys_Pointer | id, | ||
size_t | offset | ||
) |
Definition at line 1994 of file common/settings.c.
FREERDP_API void * freerdp_settings_get_pointer_array_writable | ( | const rdpSettings * | settings, |
FreeRDP_Settings_Keys_Pointer | id, | ||
size_t | offset | ||
) |
Definition at line 1645 of file common/settings.c.
FREERDP_API void * freerdp_settings_get_pointer_writable | ( | rdpSettings * | settings, |
FreeRDP_Settings_Keys_Pointer | id | ||
) |
Returns a mutable pointer settings value.
settings | A pointer to the settings to query, must not be NULL. |
id | The key to query |
Definition at line 4024 of file settings_getters.c.
References freerdp_settings_get_name_for_key(), and freerdp_settings_get_type_name_for_key().
Referenced by freerdp_settings_get_pointer(), freerdp_settings_new(), and freerdp_settings_set_monitor_def_array_sorted().
FREERDP_API const char * freerdp_settings_get_server_name | ( | const rdpSettings * | settings | ) |
A helper function to return the correct server name.
The server name might be in key FreeRDP_ServerHostname or if used in FreeRDP_UserSpecifiedServerName. This function returns the correct name to use.
settings | The settings to query, must not be NULL. |
Definition at line 2015 of file common/settings.c.
FREERDP_API const char * freerdp_settings_get_string | ( | const rdpSettings * | settings, |
FreeRDP_Settings_Keys_String | id | ||
) |
Returns a immutable string settings value.
settings | A pointer to the settings to query, must not be NULL. |
id | The key to query |
Referenced by freerdp_settings_append_string(), freerdp_settings_copy_item(), freerdp_settings_dump(), freerdp_settings_get_string_as_utf16(), freerdp_settings_new(), freerdp_settings_print_diff(), and freerdp_settings_serialize().
FREERDP_API WCHAR * freerdp_settings_get_string_as_utf16 | ( | const rdpSettings * | settings, |
FreeRDP_Settings_Keys_String | id, | ||
size_t * | pCharLen | ||
) |
Return an allocated UTF16 string.
settings | A pointer to the settings struct to use |
id | The settings identifier |
Definition at line 2287 of file common/settings.c.
References freerdp_settings_get_string().
FREERDP_API char * freerdp_settings_get_string_writable | ( | rdpSettings * | settings, |
FreeRDP_Settings_Keys_String | id | ||
) |
Returns a string settings value.
settings | A pointer to the settings to query, must not be NULL. |
id | The key to query |
Definition at line 3036 of file settings_getters.c.
References freerdp_settings_get_name_for_key(), and freerdp_settings_get_type_name_for_key().
FREERDP_API SSIZE_T freerdp_settings_get_type_for_key | ( | SSIZE_T | key | ) |
Get a key type for the key index.
key | The key index like FreeRDP_ServerMode |
Definition at line 410 of file settings_str.c.
Referenced by freerdp_settings_copy_item(), freerdp_settings_deserialize(), freerdp_settings_get_type_name_for_key(), and freerdp_settings_serialize().
FREERDP_API SSIZE_T freerdp_settings_get_type_for_name | ( | const char * | value | ) |
Get a key type for the name string of that key.
value | A key name string like FreeRDP_ServerMode |
Definition at line 364 of file settings_str.c.
FREERDP_API const char * freerdp_settings_get_type_name_for_key | ( | SSIZE_T | key | ) |
Returns the type name for a key.
key | the key number to stringify |
Definition at line 377 of file settings_str.c.
References freerdp_settings_get_type_for_key(), and freerdp_settings_get_type_name_for_type().
Referenced by freerdp_settings_get_pointer_writable(), and freerdp_settings_get_string_writable().
FREERDP_API const char * freerdp_settings_get_type_name_for_type | ( | SSIZE_T | type | ) |
Returns the type name for a type.
type | the type to stringify |
Definition at line 383 of file settings_str.c.
Referenced by freerdp_settings_deserialize(), freerdp_settings_get_type_name_for_key(), and freerdp_settings_serialize().
FREERDP_API UINT16 freerdp_settings_get_uint16 | ( | const rdpSettings * | settings, |
FreeRDP_Settings_Keys_UInt16 | id | ||
) |
Returns a UINT16 settings value.
settings | A pointer to the settings to query, must not be NULL. |
id | The key to query |
Referenced by freerdp_settings_copy_item(), freerdp_settings_dump(), freerdp_settings_print_diff(), and freerdp_settings_serialize().
FREERDP_API UINT32 freerdp_settings_get_uint32 | ( | const rdpSettings * | settings, |
FreeRDP_Settings_Keys_UInt32 | id | ||
) |
Returns a UINT32 settings value.
settings | A pointer to the settings to query, must not be NULL. |
id | The key to query |
Referenced by freerdp_settings_copy_item(), freerdp_settings_dump(), freerdp_settings_print_diff(), freerdp_settings_serialize(), and AppDelegate::rdpConnectError:.
FREERDP_API UINT64 freerdp_settings_get_uint64 | ( | const rdpSettings * | settings, |
FreeRDP_Settings_Keys_UInt64 | id | ||
) |
Returns a UINT64 settings value.
settings | A pointer to the settings to query, must not be NULL. |
id | The key to query |
Referenced by freerdp_settings_copy_item(), freerdp_settings_dump(), freerdp_settings_print_diff(), and freerdp_settings_serialize().
FREERDP_API rdpSettings * freerdp_settings_new | ( | DWORD | flags | ) |
creates a new setting struct
flags | Flags for creation, use FREERDP_SETTINGS_SERVER_MODE for server settings, 0 for client. |
Definition at line 786 of file core/settings.c.
References freerdp_settings_free(), freerdp_settings_get_bool(), freerdp_settings_get_config_path(), freerdp_settings_get_pointer_writable(), freerdp_settings_get_string(), FREERDP_SETTINGS_SERVER_MODE, freerdp_settings_set_bool(), freerdp_settings_set_int32(), freerdp_settings_set_pointer_len(), freerdp_settings_set_string(), freerdp_settings_set_string_from_utf16N(), freerdp_settings_set_string_len(), freerdp_settings_set_uint16(), and freerdp_settings_set_uint32().
Referenced by freerdp_settings_deserialize().
FREERDP_API BOOL freerdp_settings_print_diff | ( | wLog * | log, |
DWORD | level, | ||
const rdpSettings * | src, | ||
const rdpSettings * | other | ||
) |
Dumps the difference between two settings structs to a WLog.
log | The logger to write to, must not be NULL. |
level | The WLog level to use for the log entries. |
src | A pointer to the settings to dump. May be NULL. |
other | A pointer to the settings to dump. May be NULL. |
Definition at line 99 of file settings_str.c.
References freerdp_settings_get_bool(), freerdp_settings_get_int16(), freerdp_settings_get_int32(), freerdp_settings_get_int64(), freerdp_settings_get_pointer(), freerdp_settings_get_string(), freerdp_settings_get_uint16(), freerdp_settings_get_uint32(), and freerdp_settings_get_uint64().
FREERDP_API char * freerdp_settings_serialize | ( | const rdpSettings * | settings, |
BOOL | pretty, | ||
size_t * | plength | ||
) |
A function that converts a rdpSettings struct to a JSON serialized string.
settings | The settings instance to serialize |
pretty | Format the resulting JSON human readable |
plength | An optional pointer that receives the length (strlen) of the returned string. |
Definition at line 3691 of file common/settings.c.
References freerdp_settings_get_bool(), freerdp_settings_get_int16(), freerdp_settings_get_int32(), freerdp_settings_get_int64(), freerdp_settings_get_name_for_key(), freerdp_settings_get_string(), freerdp_settings_get_type_for_key(), freerdp_settings_get_type_name_for_type(), freerdp_settings_get_uint16(), freerdp_settings_get_uint32(), freerdp_settings_get_uint64(), WINPR_JSON_AddBoolToObject(), WINPR_JSON_AddNullToObject(), WINPR_JSON_AddNumberToObject(), WINPR_JSON_AddObjectToObject(), WINPR_JSON_AddStringToObject(), WINPR_JSON_CreateObject(), WINPR_JSON_Delete(), WINPR_JSON_Print(), and WINPR_JSON_PrintUnformatted().
FREERDP_API BOOL freerdp_settings_set_bool | ( | rdpSettings * | settings, |
FreeRDP_Settings_Keys_Bool | id, | ||
BOOL | param | ||
) |
Sets a BOOL settings value.
settings | A pointer to the settings to query, must not be NULL. |
id | The key to query |
param | The value to set. |
Referenced by freerdp_set_gateway_usage_method(), freerdp_settings_copy_item(), freerdp_settings_deserialize(), and freerdp_settings_new().
FREERDP_API BOOL freerdp_settings_set_int16 | ( | rdpSettings * | settings, |
FreeRDP_Settings_Keys_Int16 | id, | ||
INT16 | param | ||
) |
Sets a INT16 settings value.
settings | A pointer to the settings to query, must not be NULL. |
id | The key to query |
param | The value to set. |
Referenced by freerdp_settings_copy_item(), and freerdp_settings_deserialize().
FREERDP_API BOOL freerdp_settings_set_int32 | ( | rdpSettings * | settings, |
FreeRDP_Settings_Keys_Int32 | id, | ||
INT32 | param | ||
) |
Sets a INT32 settings value.
settings | A pointer to the settings to query, must not be NULL. |
id | The key to query |
param | The value to set. |
Referenced by freerdp_settings_copy_item(), freerdp_settings_deserialize(), freerdp_settings_new(), and freerdp_settings_set_monitor_def_array_sorted().
FREERDP_API BOOL freerdp_settings_set_int64 | ( | rdpSettings * | settings, |
FreeRDP_Settings_Keys_Int64 | id, | ||
INT64 | param | ||
) |
Sets a INT64 settings value.
settings | A pointer to the settings to query, must not be NULL. |
id | The key to query |
param | The value to set. |
Referenced by freerdp_settings_copy_item(), and freerdp_settings_deserialize().
FREERDP_API BOOL freerdp_settings_set_monitor_def_array_sorted | ( | rdpSettings * | settings, |
const rdpMonitor * | monitors, | ||
size_t | count | ||
) |
Sort monitor array according to:
The FreeRDP_MonitorLocalShiftX/FreeRDP_MonitorLocalShiftY is required to map the local monitors / mouse / touch coordinates to the remote ones.
settings | The settings to set the monitors for |
monitors | The unsorted monitors array |
count | The number of monitors in the unsorted array |
Definition at line 2438 of file common/settings.c.
References freerdp_settings_get_pointer_writable(), freerdp_settings_set_int32(), freerdp_settings_set_pointer_len(), and freerdp_settings_set_uint32().
FREERDP_API BOOL freerdp_settings_set_pointer | ( | rdpSettings * | settings, |
FreeRDP_Settings_Keys_Pointer | id, | ||
const void * | data | ||
) |
Set a pointer to value data.
settings | A pointer to the settings to query, must not be NULL. |
id | The key to update |
data | The data to set (direct update, no copy created, previous value overwritten) |
Referenced by freerdp_settings_copy_item(), and freerdp_settings_set_pointer_len().
FREERDP_API BOOL freerdp_settings_set_pointer_array | ( | rdpSettings * | settings, |
FreeRDP_Settings_Keys_Pointer | id, | ||
size_t | offset, | ||
const void * | data | ||
) |
Definition at line 1807 of file common/settings.c.
FREERDP_API BOOL freerdp_settings_set_pointer_len | ( | rdpSettings * | settings, |
FreeRDP_Settings_Keys_Pointer | id, | ||
const void * | data, | ||
size_t | len | ||
) |
Set a pointer to value data.
settings | A pointer to the settings to query, must not be NULL. |
id | The key to update |
data | The data to set (copy created, previous value freed) |
Definition at line 1431 of file common/settings.c.
References freerdp_settings_set_pointer().
Referenced by freerdp_settings_new(), and freerdp_settings_set_monitor_def_array_sorted().
FREERDP_API BOOL freerdp_settings_set_string | ( | rdpSettings * | settings, |
FreeRDP_Settings_Keys_String | id, | ||
const char * | param | ||
) |
Sets a string settings value. The param is copied.
settings | A pointer to the settings to query, must not be NULL. |
id | The key to query |
param | The value to set. If NULL removes the old entry, otherwise a copy is created. |
Definition at line 3683 of file settings_getters.c.
Referenced by freerdp_settings_copy_item(), freerdp_settings_deserialize(), and freerdp_settings_new().
FREERDP_API BOOL freerdp_settings_set_string_from_utf16 | ( | rdpSettings * | settings, |
FreeRDP_Settings_Keys_String | id, | ||
const WCHAR * | param | ||
) |
Sets a string settings value. The param is converted to UTF-8 and the copy stored.
settings | A pointer to the settings to query, must not be NULL. |
id | The key to query |
param | The value to set. If NULL removes the old entry, otherwise a copy is created. |
Definition at line 2247 of file common/settings.c.
FREERDP_API BOOL freerdp_settings_set_string_from_utf16N | ( | rdpSettings * | settings, |
FreeRDP_Settings_Keys_String | id, | ||
const WCHAR * | param, | ||
size_t | length | ||
) |
Sets a string settings value. The param is converted to UTF-8 and the copy stored.
settings | A pointer to the settings to query, must not be NULL. |
id | The key to query |
param | The value to set. If NULL removes the old entry, otherwise a copy is created. |
length | The length of the WCHAR string in number of WCHAR characters |
Definition at line 2264 of file common/settings.c.
Referenced by freerdp_settings_new().
FREERDP_API BOOL freerdp_settings_set_string_len | ( | rdpSettings * | settings, |
FreeRDP_Settings_Keys_String | id, | ||
const char * | param, | ||
size_t | len | ||
) |
Sets a string settings value. The param is copied.
settings | A pointer to the settings to query, must not be NULL. |
id | The key to query |
param | The value to set. If NULL allocates an empty string buffer of len size, otherwise a copy is created. |
len | The length of param, 0 to remove the old entry. |
Definition at line 3677 of file settings_getters.c.
Referenced by freerdp_settings_append_string(), and freerdp_settings_new().
FREERDP_API BOOL freerdp_settings_set_uint16 | ( | rdpSettings * | settings, |
FreeRDP_Settings_Keys_UInt16 | id, | ||
UINT16 | param | ||
) |
Sets a UINT16 settings value.
settings | A pointer to the settings to query, must not be NULL. |
id | The key to query |
param | The value to set. |
Referenced by freerdp_settings_copy_item(), freerdp_settings_deserialize(), and freerdp_settings_new().
FREERDP_API BOOL freerdp_settings_set_uint32 | ( | rdpSettings * | settings, |
FreeRDP_Settings_Keys_UInt32 | id, | ||
UINT32 | param | ||
) |
Sets a UINT32 settings value.
settings | A pointer to the settings to query, must not be NULL. |
id | The key to query |
param | The value to set. |
Referenced by freerdp_set_gateway_usage_method(), freerdp_settings_copy_item(), freerdp_settings_deserialize(), freerdp_settings_new(), and freerdp_settings_set_monitor_def_array_sorted().
FREERDP_API BOOL freerdp_settings_set_uint64 | ( | rdpSettings * | settings, |
FreeRDP_Settings_Keys_UInt64 | id, | ||
UINT64 | param | ||
) |
Sets a UINT64 settings value.
settings | A pointer to the settings to query, must not be NULL. |
id | The key to query |
param | The value to set. |
Referenced by freerdp_settings_copy_item(), and freerdp_settings_deserialize().
FREERDP_API BOOL freerdp_settings_set_value_for_name | ( | rdpSettings * | settings, |
const char * | name, | ||
const char * | value | ||
) |
Definition at line 1281 of file common/settings.c.
FREERDP_API BOOL freerdp_settings_update_from_caps | ( | rdpSettings * | settings, |
const BYTE * | capsFlags, | ||
const BYTE ** | capsData, | ||
const UINT32 * | capsSizes, | ||
UINT32 | capsCount, | ||
BOOL | serverReceivedCaps | ||
) |
Parse capability data and apply to settings.
The capability message is stored in raw form in the settings, the data parsed and applied to the settings.
settings | A pointer to the settings to use |
capsFlags | A pointer to the capability flags, must have capsCount fields |
capsData | A pointer array to the RAW capability data, must have capsCount fields |
capsSizes | A pointer to an array of RAW capability sizes, must have capsCount fields |
capsCount | The number of capabilities contained in the RAW data |
serverReceivedCaps | Indicates if the parser should assume to be a server or client instance |
Definition at line 2181 of file common/settings.c.
FREERDP_API BOOL freerdp_static_channel_collection_add | ( | rdpSettings * | settings, |
ADDIN_ARGV * | channel | ||
) |
Definition at line 609 of file common/settings.c.
FREERDP_API BOOL freerdp_static_channel_collection_del | ( | rdpSettings * | settings, |
const char * | name | ||
) |
Definition at line 577 of file common/settings.c.
FREERDP_API ADDIN_ARGV * freerdp_static_channel_collection_find | ( | rdpSettings * | settings, |
const char * | name | ||
) |
Definition at line 646 of file common/settings.c.
FREERDP_API void freerdp_static_channel_collection_free | ( | rdpSettings * | settings | ) |
Definition at line 665 of file common/settings.c.
FREERDP_API const char * freerdp_supported_color_depths_string | ( | UINT16 | mask, |
char * | buffer, | ||
size_t | size | ||
) |
returns a string representation of RNS_UD_XXBPP_SUPPORT values
return A string reprenentation of the bitmask.
Definition at line 2364 of file common/settings.c.
FREERDP_API BOOL freerdp_target_net_addresses_copy | ( | rdpSettings * | settings, |
char ** | addresses, | ||
UINT32 | count | ||
) |
Definition at line 2038 of file common/settings.c.
FREERDP_API void freerdp_target_net_addresses_free | ( | rdpSettings * | settings | ) |
Definition at line 978 of file common/settings.c.
FREERDP_API void freerdp_update_gateway_usage_method | ( | rdpSettings * | settings, |
UINT32 | GatewayEnabled, | ||
UINT32 | GatewayBypassLocal | ||
) |
Definition at line 1159 of file common/settings.c.