| 
    FreeRDP
    
   | 
 
#include <winpr/wtypes.h>#include <winpr/ini.h>#include <freerdp/api.h>#include <freerdp/server/proxy/proxy_modules_api.h>
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 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 void | pf_server_config_free (proxyConfig *config) | 
| pf_server_config_free Releases all resources associated with proxyConfig  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_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 | 


| 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 | 


| FREERDP_API const char** pf_config_modules | ( | const proxyConfig * | config | ) | 
pf_config_modules
| config | A pointer to the proxyConfig. Must NOT be NULL. | 

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

| 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 | 


| 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 | 

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

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


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


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

| 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 | 


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


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

