From 1437f480424f18b7bc8215dfe7730284413a52bb Mon Sep 17 00:00:00 2001 From: Quentin Dufour Date: Fri, 22 Mar 2019 18:19:28 +0100 Subject: [PATCH] WIP interface socks5 rework --- src/socks5.h | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/socks5.h b/src/socks5.h index 6966b09..f47dd0d 100644 --- a/src/socks5.h +++ b/src/socks5.h @@ -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);