FreeRDP
|
Functions | |
BOOL | freerdp_settings_clone_keys (rdpSettings *dst, const rdpSettings *src) |
BOOL | freerdp_settings_print_diff (wLog *log, DWORD level, const rdpSettings *settings, const rdpSettings *other) |
Dumps the difference between two settings structs to a WLog. More... | |
void | freerdp_settings_dump (wLog *log, DWORD level, const rdpSettings *settings) |
Dumps the contents of a settings struct to a WLog logger. More... | |
void | freerdp_settings_free_keys (rdpSettings *dst, BOOL cleanup) |
SSIZE_T | freerdp_settings_get_key_for_name (const char *value) |
Get a key index for the name string of that key. More... | |
SSIZE_T | freerdp_settings_get_type_for_name (const char *value) |
Get a key type for the name string of that key. More... | |
const char * | freerdp_settings_get_type_name_for_key (SSIZE_T key) |
Returns the type name for a key. More... | |
const char * | freerdp_settings_get_type_name_for_type (SSIZE_T type) |
Returns the type name for a type. More... | |
SSIZE_T | freerdp_settings_get_type_for_key (SSIZE_T key) |
Get a key type for the key index. More... | |
const char * | freerdp_settings_get_name_for_key (SSIZE_T key) |
Returns the type name for a key. More... | |
BOOL | freerdp_settings_copy_item (rdpSettings *dst, const rdpSettings *src, SSIZE_T id) |
copies one setting identified by id from src to dst More... | |
BOOL freerdp_settings_clone_keys | ( | rdpSettings * | dst, |
const rdpSettings * | src | ||
) |
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 |
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. |
void freerdp_settings_free_keys | ( | rdpSettings * | dst, |
BOOL | cleanup | ||
) |
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 |
const char* freerdp_settings_get_name_for_key | ( | SSIZE_T | key | ) |
Returns the type name for a key.
key | the key number to stringify |
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 |
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 |
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 |
const char* freerdp_settings_get_type_name_for_type | ( | SSIZE_T | type | ) |
Returns the type name for a type.
type | the type to stringify |
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. |