diff options
author | james <james@e7ae566f-a301-0410-adde-c780ea21d3b5> | 2005-12-12 19:46:10 +0000 |
---|---|---|
committer | james <james@e7ae566f-a301-0410-adde-c780ea21d3b5> | 2005-12-12 19:46:10 +0000 |
commit | f214bb2115994cc6b4123f3d06db0452f17f2e99 (patch) | |
tree | 7a09094e169f4097ceb033204c171eba2a51ae59 /syshead.h | |
parent | First attempt at automatic proxy detection, (diff) | |
download | openvpn-f214bb2115994cc6b4123f3d06db0452f17f2e99.tar.xz |
Added --auto-proxy directive to auto-detect HTTP or SOCKS
proxy settings (currently Windows only).
git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@850 e7ae566f-a301-0410-adde-c780ea21d3b5
Diffstat (limited to '')
-rw-r--r-- | syshead.h | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -266,6 +266,7 @@ #ifdef WIN32 #include <iphlpapi.h> +#include <WinInet.h> #endif #ifdef HAVE_SYS_MMAN_H @@ -436,6 +437,13 @@ socket_defined (const socket_descriptor_t sd) #endif /* + * Should we include code common to all proxy methods? + */ +#if defined(ENABLE_HTTP_PROXY) || defined(ENABLE_SOCKS) +#define GENERAL_PROXY_SUPPORT +#endif + +/* * Do we have PKCS11 capability? */ #if defined(USE_PKCS11) && defined(USE_CRYPTO) && defined(USE_SSL) |