summaryrefslogtreecommitdiff
path: root/config.def.h
diff options
context:
space:
mode:
authorFRIGN <dev@frign.de>2015-01-06 22:38:12 +0100
committersin <sin@2f30.org>2015-01-07 03:14:02 +0000
commit384067fc69a35126f6418ba219cadc925223c9b8 (patch)
treeecebdc9754a994b95c72f3bbe3ca1f0d4b77e880 /config.def.h
parentce3ae41642d1b1cdb72060b1036d0c6c7e6bed96 (diff)
Implement proxy functionality as desired
Now we support both HTTP and SOCKS5 proxies. While at it, get rid of the outdated usage string and just establish the fact we have a bloody manpage for explanations.
Diffstat (limited to 'config.def.h')
-rw-r--r--config.def.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/config.def.h b/config.def.h
index 9dd605b..a1498f3 100644
--- a/config.def.h
+++ b/config.def.h
@@ -15,6 +15,7 @@ static int encryptsavefile = 0;
static int ipv6 = 0;
static int tcp = 0;
static int proxy = 0;
+static int proxytype = 2; /* 1 = HTTP, 2 = SOCKS5 */
static char proxyaddr[] = "localhost";
static uint16_t proxyport = 8080;