1
0
mirror of https://github.com/rofl0r/proxychains-ng synced 2026-05-15 10:03:23 +08:00

externalize some variables, which are used from both C files

This commit is contained in:
rofl0r
2012-07-08 00:16:00 +02:00
Unverified
parent 229eb7cc5a
commit d95ef42d48
2 changed files with 29 additions and 26 deletions
+7
View File
@@ -43,6 +43,13 @@
#define SOCKFAMILY(x) (satosin(x)->sin_family)
#define MAX_CHAIN 512
connect_t true_connect;
gethostbyname_t true_gethostbyname;
getaddrinfo_t true_getaddrinfo;
freeaddrinfo_t true_freeaddrinfo;
getnameinfo_t true_getnameinfo;
gethostbyaddr_t true_gethostbyaddr;
int tcp_read_time_out;
int tcp_connect_time_out;
chain_type proxychains_ct;