server: proxy: add extern C for c++ plugins
@@ -78,6 +78,11 @@ struct proxy_config
typedef struct proxy_config proxyConfig;
+#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,
@@ -85,6 +90,10 @@ FREERDP_API BOOL pf_config_get_uint32(wIniFile* ini, const char* section, const
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);
void pf_server_config_free(proxyConfig* config);
