20 #ifndef FREERDP_SERVER_PROXY_SERVER_H
21 #define FREERDP_SERVER_PROXY_SERVER_H
23 #include <freerdp/api.h>
24 #include <freerdp/server/proxy/proxy_config.h>
25 #include <freerdp/server/proxy/proxy_modules_api.h>
39 FREERDP_API
void pf_server_free(proxyServer* server);
48 WINPR_ATTR_MALLOC(pf_server_free, 1)
49 FREERDP_API proxyServer* pf_server_new(const proxyConfig* config);
62 FREERDP_API BOOL pf_server_add_module(proxyServer* server, proxyModuleEntryPoint ep,
72 FREERDP_API BOOL pf_server_start(proxyServer* server);
82 FREERDP_API BOOL pf_server_start_from_socket(proxyServer* server,
int socket);
92 FREERDP_API BOOL pf_server_start_with_peer_socket(proxyServer* server,
int socket);
99 FREERDP_API
void pf_server_stop(proxyServer* server);
109 FREERDP_API BOOL pf_server_run(proxyServer* server);