20 #ifndef FREERDP_SERVER_PROXY_CONFIG_H
21 #define FREERDP_SERVER_PROXY_CONFIG_H
23 #include <winpr/wtypes.h>
24 #include <winpr/ini.h>
26 #include <freerdp/api.h>
27 #include <freerdp/server/proxy/proxy_modules_api.h>
61 BOOL ServerTlsSecurity;
62 BOOL ServerRdpSecurity;
63 BOOL ServerNlaSecurity;
66 BOOL ClientNlaSecurity;
67 BOOL ClientTlsSecurity;
68 BOOL ClientRdpSecurity;
69 BOOL ClientAllowFallbackToTls;
78 BOOL DeviceRedirection;
79 BOOL VideoRedirection;
80 BOOL CameraRedirection;
82 BOOL PassthroughIsBlacklist;
84 size_t PassthroughCount;
86 size_t InterceptCount;
89 WINPR_DEPRECATED_VAR(
"[since 3.6.0] Unused, ignore", BOOL TextOnly);
90 WINPR_DEPRECATED_VAR(
"[since 3.6.0] Unused, ignore", UINT32 MaxTextLength);
93 WINPR_DEPRECATED_VAR(
"[since 3.6.0] Unused, ignore", BOOL DecodeGFX);
99 char** RequiredPlugins;
100 size_t RequiredPluginsCount;
102 char* CertificateFile;
103 char* CertificateContent;
105 char* PrivateKeyFile;
106 char* PrivateKeyContent;
109 char* CertificatePEM;
110 size_t CertificatePEMLength;
114 size_t PrivateKeyPEMLength;
119 UINT32 TargetTlsSecLevel;
216 FREERDP_API BOOL
pf_config_clone(proxyConfig** dst, const proxyConfig* config);
227 FREERDP_API BOOL
pf_config_plugin(proxyPluginsManager* plugins_manager,
void* userdata);
237 FREERDP_API const
char*
pf_config_get(const proxyConfig* config, const
char* section,
FREERDP_API proxyConfig * server_config_load_ini(wIniFile *ini)
server_config_load_ini Create a proxyConfig from a already loaded INI file.
FREERDP_API void pf_server_config_free(proxyConfig *config)
pf_server_config_free Releases all resources associated with proxyConfig
FREERDP_API void pf_server_config_print(const proxyConfig *config)
pf_server_config_print Print the configuration to stdout
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_API const char ** pf_config_modules(const proxyConfig *config)
pf_config_modules
FREERDP_API BOOL pf_config_clone(proxyConfig **dst, const proxyConfig *config)
pf_config_clone Create a copy of the configuration
FREERDP_API BOOL pf_server_config_dump(const char *file)
pf_server_config_dump Dumps a default INI configuration file
FREERDP_API size_t pf_config_required_plugins_count(const proxyConfig *config)
pf_config_required_plugins_count
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 BOOL pf_config_plugin(proxyPluginsManager *plugins_manager, void *userdata)
pf_config_plugin Register a proxy plugin handling event filtering defined in the configuration.
FREERDP_API const char * pf_config_required_plugin(const proxyConfig *config, size_t index)
pf_config_required_plugin
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.
FREERDP_API size_t pf_config_modules_count(const proxyConfig *config)
pf_config_modules_count