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);