|
FreeRDP
|
Data Structures | |
| struct | proxyConfig |
Functions | |
| WINPR_ATTR_NODISCARD FREERDP_API BOOL | pf_server_config_dump (const char *file) |
| pf_server_config_dump Dumps a default INI configuration file | |
| FREERDP_API void | pf_server_config_free (proxyConfig *config) |
| pf_server_config_free Releases all resources associated with proxyConfig | |
| WINPR_ATTR_NODISCARD FREERDP_API proxyConfig * | server_config_load_ini (wIniFile *ini) |
| server_config_load_ini Create a proxyConfig from a already loaded INI file. | |
| WINPR_ATTR_NODISCARD 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. | |
| WINPR_ATTR_NODISCARD 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 | |
| FREERDP_API void | pf_server_config_print (const proxyConfig *config) |
| pf_server_config_print Print the configuration to stdout | |
| WINPR_ATTR_NODISCARD FREERDP_API size_t | pf_config_required_plugins_count (const proxyConfig *config) |
| pf_config_required_plugins_count | |
| WINPR_ATTR_NODISCARD FREERDP_API const char * | pf_config_required_plugin (const proxyConfig *config, size_t index) |
| pf_config_required_plugin | |
| WINPR_ATTR_NODISCARD FREERDP_API size_t | pf_config_modules_count (const proxyConfig *config) |
| pf_config_modules_count | |
| WINPR_ATTR_NODISCARD FREERDP_API const char ** | pf_config_modules (const proxyConfig *config) |
| pf_config_modules | |
| WINPR_ATTR_NODISCARD FREERDP_API BOOL | pf_config_clone (proxyConfig **dst, const proxyConfig *config) |
| pf_config_clone Create a copy of the configuration | |
| WINPR_ATTR_NODISCARD 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. | |
| WINPR_ATTR_NODISCARD 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 | |
FreeRDP: A Remote Desktop Protocol Implementation FreeRDP Proxy Server
Copyright 2021-2023 Armin Novak armin.nosp@m..nov.nosp@m.ak@th.nosp@m.inca.nosp@m.st.co.nosp@m.m Copyright 2021-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.
| WINPR_ATTR_NODISCARD 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 983 of file pf_config.c.
References pf_server_config_free().

| WINPR_ATTR_NODISCARD 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 nullptr. |
| section | The name of the section the key is in, must not be nullptr |
| key | The name of the key to look for. Must not be nullptr |
Definition at line 1355 of file pf_config.c.
| WINPR_ATTR_NODISCARD FREERDP_API const char ** pf_config_modules | ( | const proxyConfig * | config | ) |
pf_config_modules
| config | A pointer to the proxyConfig. Must NOT be nullptr. |
Definition at line 921 of file pf_config.c.
| WINPR_ATTR_NODISCARD FREERDP_API size_t pf_config_modules_count | ( | const proxyConfig * | config | ) |
pf_config_modules_count
| config | A pointer to the proxyConfig. Must NOT be nullptr. |
Definition at line 915 of file pf_config.c.
| WINPR_ATTR_NODISCARD 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 1323 of file pf_config.c.
| WINPR_ATTR_NODISCARD 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 nullptr. |
| index | The index of the plugin to return |
Definition at line 906 of file pf_config.c.
| WINPR_ATTR_NODISCARD 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 nullptr. |
Definition at line 900 of file pf_config.c.
| WINPR_ATTR_NODISCARD 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 609 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 nullptr. |
Definition at line 874 of file pf_config.c.
Referenced by pf_config_clone(), and server_config_load_ini().

| WINPR_ATTR_NODISCARD 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 725 of file pf_config.c.
References server_config_load_ini().

| WINPR_ATTR_NODISCARD 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 750 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 nullptr. |
Definition at line 780 of file pf_config.c.
| WINPR_ATTR_NODISCARD 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 nullptr. |
Definition at line 562 of file pf_config.c.
References pf_server_config_free().
Referenced by pf_server_config_load_buffer(), and pf_server_config_load_file().

