summaryrefslogtreecommitdiffhomepage
path: root/acconfig.h
blob: 98d4195c315e13521caca6d837e26be7467c3900 (plain)
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
58
59
60
61
62
63
/*
 * Define if you want to have the peer's IP address to be included in a
 * XTinyproxy header sent to the server.
 */
#undef XTINYPROXY_ENABLE

/*
 * This is the default location of the configuration file
 */
#define DEFAULT_CONF_FILE "/etc/tinyproxy/tinyproxy.conf"

/*
 * Define if you would like to include filtering code.
 */
#undef FILTER_ENABLE

/*
 * Define if you want to use the included GNU regex routine
 */
#undef USE_GNU_REGEX

/*
 * Define if you want to include upstream proxy support
 */
#undef UPSTREAM_SUPPORT

/*
 * Define if you want to include TCP tunnelling
 */
#undef TUNNEL_SUPPORT

/*
 * NOTE: for DEFAULT_STATHOST:  this controls remote proxy stats display.
 * for example, the default DEFAULT_STATHOST of "tinyproxy.stats" will
 * mean that when you use the proxy to access http://tinyproxy.stats/",
 * you will be shown the proxy stats.  Set this to something obscure
 * if you don't want random people to be able to see them, or set it to
 * "" to disable.  In the future, I figure maybe some sort of auth
 * might be desirable, but that would involve a major simplicity
 * sacrifice.
 *
 *
 * The "hostname" for getting tinyproxy stats. "" = disabled by default
 */
#define DEFAULT_STATHOST "tinyproxy.stats"

/*
 * Define the following for the appropriate datatype, if necessary
 */
#undef uint8_t
#undef int16_t
#undef uint16_t
#undef int32_t
#undef uint32_t
#undef in_addr_t 
#undef size_t
#undef ssize_t
#undef socklen_t

/*
 * A string containing the name of the system tinyproxy was built towards.
 */
#undef TARGET_SYSTEM