-
Notifications
You must be signed in to change notification settings - Fork 2
/
acconfig.h
57 lines (42 loc) · 1.79 KB
/
acconfig.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
/* accconfig.h -- `autoheader' will generate config.h.in for tsocks . */
/* Allow tsocks to generate messages to stderr when errors are
encountered, this is really important and should only be disabled if
you're REALLY sure. It can also be turned off at run time, see the man
page for details */
#undef ALLOW_MSG_OUTPUT
/* Allow TSOCKS_CONF_FILE in environment to specify config file
location */
#undef ALLOW_ENV_CONFIG
/* Use _GNU_SOURCE to define RTLD_NEXT, mostly for RH7 systems */
#undef USE_GNU_SOURCE
/* dlopen() the old libc to get connect() instead of RTLD_NEXT,
hopefully shouldn't be needed */
#undef USE_OLD_DLSYM
/* path to library containing connect(), needed if USE_OLD_DLSYM is enabled */
#undef LIBCONNECT
/* path to libc, needed if USE_OLD_DLSYM is enabled */
#undef LIBC
/* Configure the system resolver to use TCP queries on startup, this
allows socksified DNS */
#undef USE_SOCKS_DNS
/* Prototype and function header for connect function */
#undef CONNECT_SIGNATURE
/* The type of socket structure pointer to use to call the
* real connect */
#undef CONNECT_SOCKARG
/* Prototype and function header for select function */
#undef SELECT_SIGNATURE
/* Prototype and function header for poll function */
#undef POLL_SIGNATURE
/* Prototype and function header for close function */
#undef CLOSE_SIGNATURE
/* Prototype and function header for getpeername function */
#undef GETPEERNAME_SIGNATURE
/* We use strsep which isn't on all machines, but we provide our own
definition of it for those which don't have it, this causes us to define
our version */
#undef DEFINE_STRSEP
/* Allow the use of DNS names in the socks configuration file for socks
servers. This doesn't work if socksified DNS is enabled for obvious
reasons, it also introduces overhead, but people seem to want it */
#define HOSTNAMES 0