WIP interface socks5 rework

This commit is contained in:
Quentin Dufour 2019-03-22 18:19:28 +01:00
parent b105e25c38
commit 1437f48042

View file

@ -107,8 +107,6 @@ struct server_reply {
uint16_t port;
};
int socks5_handshake_syn(struct evt_core_ctx* ctx, struct evt_core_fdinfo* fdinfo);
int socks5_handshake_ack(int sock);
int socks5_connect_dns(int sock, char* addr, uint16_t port);
int socks5_reply(int sock);
void init_socks5(struct evt_core_ctx* ctx);
void create_socks5_dns_client(struct evt_core_ctx* ctx, char* proxy_host, char* proxy_port, char* addr, uint16_t port);
char* socks5_rep (enum socks5_rep rep);