comparison libpurple/proxy.h @ 31478:9a7c5d242521

Add a new proxy type of "Tor". This is really just a SOCKS5 proxy, but can be used to restrict functionality (e.g. DNS lookups) for privacy reasons. Refs #11110
author Daniel Atallah <daniel.atallah@gmail.com>
date Tue, 19 Apr 2011 04:41:59 +0000
parents 4c3b1bb3ba91
children 0eceb1304f53
comparison
equal deleted inserted replaced
31477:f0de3178dd87 31478:9a7c5d242521
37 PURPLE_PROXY_USE_GLOBAL = -1, /**< Use the global proxy information. */ 37 PURPLE_PROXY_USE_GLOBAL = -1, /**< Use the global proxy information. */
38 PURPLE_PROXY_NONE = 0, /**< No proxy. */ 38 PURPLE_PROXY_NONE = 0, /**< No proxy. */
39 PURPLE_PROXY_HTTP, /**< HTTP proxy. */ 39 PURPLE_PROXY_HTTP, /**< HTTP proxy. */
40 PURPLE_PROXY_SOCKS4, /**< SOCKS 4 proxy. */ 40 PURPLE_PROXY_SOCKS4, /**< SOCKS 4 proxy. */
41 PURPLE_PROXY_SOCKS5, /**< SOCKS 5 proxy. */ 41 PURPLE_PROXY_SOCKS5, /**< SOCKS 5 proxy. */
42 PURPLE_PROXY_USE_ENVVAR /**< Use environmental settings. */ 42 PURPLE_PROXY_USE_ENVVAR, /**< Use environmental settings. */
43 PURPLE_PROXY_TOR /**< Use a Tor proxy (SOCKS 5 really) */
43 44
44 } PurpleProxyType; 45 } PurpleProxyType;
45 46
46 /** 47 /**
47 * Information on proxy settings. 48 * Information on proxy settings.