Protocol: add ProxyCodeToCedar()

This new function translates a proxy error code to a Cedar error code.
This commit is contained in:
Davide Beatrici committed 2019-10-30 01:39:11 +01:00
1 parent b8f58a2f94
commit 59dc26aa21
2 files changed
+26 -2

No files matched your search

+2 -2
View File
@@ -120,11 +120,11 @@ bool ClientUploadAuth(CONNECTION *c);
SOCK *ClientConnectGetSocket(CONNECTION *c, bool additional_connect);
SOCK *TcpConnectEx3(char *hostname, UINT port, UINT timeout, bool *cancel_flag, void *hWnd, bool no_nat_t, UINT *nat_t_error_code, bool try_start_ssl, IP *ret_ip);
UINT ProxyCodeToCedar(UINT code);
void InitProtocol();
void FreeProtocol();
POLICY *PackGetPolicy(PACK *p);
void PackAddPolicy(PACK *p, POLICY *y);
PACK *PackWelcome(SESSION *s);