FreeRDP
|
Data Structures | |
struct | proxyConfig |
Functions | |
FREERDP_API BOOL | pf_server_config_dump (const char *file) |
pf_server_config_dump Dumps a default INI configuration file More... | |
FREERDP_API void | pf_server_config_free (proxyConfig *config) |
pf_server_config_free Releases all resources associated with proxyConfig More... | |
FREERDP_API proxyConfig * | server_config_load_ini (wIniFile *ini) |
server_config_load_ini Create a proxyConfig from a already loaded INI file. More... | |
FREERDP_API proxyConfig * | pf_server_config_load_file (const char *path) |
pf_server_config_load_file Create a proxyConfig from a INI file found at path. More... | |
FREERDP_API proxyConfig * | pf_server_config_load_buffer (const char *buffer) |
pf_server_config_load_buffer Create a proxyConfig from a memory string buffer in INI file format More... | |
FREERDP_API void | pf_server_config_print (const proxyConfig *config) |
pf_server_config_print Print the configuration to stdout More... | |
FREERDP_API size_t | pf_config_required_plugins_count (const proxyConfig *config) |
pf_config_required_plugins_count More... | |
FREERDP_API const char * | pf_config_required_plugin (const proxyConfig *config, size_t index) |
pf_config_required_plugin More... | |
FREERDP_API size_t | pf_config_modules_count (const proxyConfig *config) |
pf_config_modules_count More... | |
FREERDP_API const char ** | pf_config_modules (const proxyConfig *config) |
pf_config_modules More... | |
FREERDP_API BOOL | pf_config_clone (proxyConfig **dst, const proxyConfig *config) |
pf_config_clone Create a copy of the configuration More... | |
FREERDP_API BOOL | pf_config_plugin (proxyPluginsManager *plugins_manager, void *userdata) |
pf_config_plugin Register a proxy plugin handling event filtering defined in the configuration. More... | |
FREERDP_API const char * | pf_config_get (const proxyConfig *config, const char *section, const char *key) |
pf_config_get get a value for a section/key More... | |
FreeRDP: A Remote Desktop Protocol Implementation FreeRDP Proxy Server
Copyright 2021-2023 Armin Novak armin Copyright 2021-2023 Thincast Technologies GmbH .nov ak@th inca st.co m
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_API BOOL pf_config_clone | ( | proxyConfig ** | dst, |
const proxyConfig * | config | ||
) |
pf_config_clone Create a copy of the configuration
dst | A pointer that receives the newly allocated copy |
config | The source configuration to copy |
Definition at line 947 of file pf_config.c.
References pf_server_config_free().
FREERDP_API const char* pf_config_get | ( | const proxyConfig * | config, |
const char * | section, | ||
const char * | key | ||
) |
pf_config_get get a value for a section/key
config | A pointer to the proxyConfig. Must NOT be NULL. |
section | The name of the section the key is in, must not be NULL |
key | The name of the key to look for. Must not be NULL |
Definition at line 1297 of file pf_config.c.
FREERDP_API const char** pf_config_modules | ( | const proxyConfig * | config | ) |
pf_config_modules
config | A pointer to the proxyConfig. Must NOT be NULL. |
Definition at line 888 of file pf_config.c.
FREERDP_API size_t pf_config_modules_count | ( | const proxyConfig * | config | ) |
pf_config_modules_count
config | A pointer to the proxyConfig. Must NOT be NULL. |
Definition at line 882 of file pf_config.c.
FREERDP_API BOOL pf_config_plugin | ( | proxyPluginsManager * | plugins_manager, |
void * | userdata | ||
) |
pf_config_plugin Register a proxy plugin handling event filtering defined in the configuration.
plugins_manager | The plugin manager |
userdata | A proxyConfig* to use as reference |
Definition at line 1265 of file pf_config.c.
FREERDP_API const char* pf_config_required_plugin | ( | const proxyConfig * | config, |
size_t | index | ||
) |
pf_config_required_plugin
config | A pointer to the proxyConfig. Must NOT be NULL. |
index | The index of the plugin to return |
Definition at line 873 of file pf_config.c.
FREERDP_API size_t pf_config_required_plugins_count | ( | const proxyConfig * | config | ) |
pf_config_required_plugins_count
config | A pointer to the proxyConfig. Must NOT be NULL. |
Definition at line 867 of file pf_config.c.
FREERDP_API BOOL pf_server_config_dump | ( | const char * | file | ) |
pf_server_config_dump Dumps a default INI configuration file
file | The file to write to. Existing files are truncated. |
Definition at line 594 of file pf_config.c.
FREERDP_API void pf_server_config_free | ( | proxyConfig * | config | ) |
pf_server_config_free Releases all resources associated with proxyConfig
config | A pointer to the proxyConfig to clean up. Might be NULL. |
Definition at line 842 of file pf_config.c.
Referenced by pf_config_clone(), and server_config_load_ini().
FREERDP_API proxyConfig* pf_server_config_load_buffer | ( | const char * | buffer | ) |
pf_server_config_load_buffer Create a proxyConfig from a memory string buffer in INI file format
buffer | A pointer to the '\0' terminated INI string. |
Definition at line 710 of file pf_config.c.
References server_config_load_ini().
FREERDP_API proxyConfig* pf_server_config_load_file | ( | const char * | path | ) |
pf_server_config_load_file Create a proxyConfig from a INI file found at path.
path | The path of the INI file |
Definition at line 735 of file pf_config.c.
References server_config_load_ini().
FREERDP_API void pf_server_config_print | ( | const proxyConfig * | config | ) |
pf_server_config_print Print the configuration to stdout
config | A pointer to the configuration to print. Must NOT be NULL. |
Definition at line 765 of file pf_config.c.
FREERDP_API proxyConfig* server_config_load_ini | ( | wIniFile * | ini | ) |
server_config_load_ini Create a proxyConfig from a already loaded INI file.
ini | A pointer to the parsed INI file. Must NOT be NULL. |
Definition at line 547 of file pf_config.c.
References pf_server_config_free().
Referenced by pf_server_config_load_buffer(), and pf_server_config_load_file().