mirror of
https://github.com/FreeRDP/FreeRDP.git
synced 2025-06-03 00:00:20 +00:00
server: proxy: add extern C for c++ plugins
This commit is contained in:
parent
5667c12be5
commit
763f7ae2c8
@ -78,12 +78,21 @@ struct proxy_config
|
||||
|
||||
typedef struct proxy_config proxyConfig;
|
||||
|
||||
FREERDP_API BOOL pf_config_get_uint16(wIniFile* ini, const char* section, const char* key,
|
||||
UINT16* result);
|
||||
FREERDP_API BOOL pf_config_get_uint32(wIniFile* ini, const char* section, const char* key,
|
||||
UINT32* result);
|
||||
FREERDP_API BOOL pf_config_get_bool(wIniFile* ini, const char* section, const char* key);
|
||||
FREERDP_API const char* pf_config_get_str(wIniFile* ini, const char* section, const char* key);
|
||||
#ifdef __cplusplus
|
||||
extern "C"
|
||||
{
|
||||
#endif
|
||||
|
||||
FREERDP_API BOOL pf_config_get_uint16(wIniFile* ini, const char* section, const char* key,
|
||||
UINT16* result);
|
||||
FREERDP_API BOOL pf_config_get_uint32(wIniFile* ini, const char* section, const char* key,
|
||||
UINT32* result);
|
||||
FREERDP_API BOOL pf_config_get_bool(wIniFile* ini, const char* section, const char* key);
|
||||
FREERDP_API const char* pf_config_get_str(wIniFile* ini, const char* section, const char* key);
|
||||
|
||||
#ifdef __cplusplus
|
||||
};
|
||||
#endif
|
||||
|
||||
proxyConfig* pf_server_config_load(const char* path);
|
||||
void pf_server_config_print(proxyConfig* config);
|
||||
|
Loading…
Reference in New Issue
Block a user