aboutsummaryrefslogtreecommitdiff
path: root/lib/urldata.h
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2009-01-28 21:33:58 +0000
committerDaniel Stenberg <daniel@haxx.se>2009-01-28 21:33:58 +0000
commitde4610a55f9e99bebaf448ca33e2e43baf977c74 (patch)
tree108574cc0c8a3593046f08e16cc898f29f77626c /lib/urldata.h
parent6e34c2d59a96b406a76d8922561a9d57c55e0dbc (diff)
- Markus Moeller introduced two new options to libcurl:
CURLOPT_SOCKS5_GSSAPI_SERVICE and CURLOPT_SOCKS5_GSSAPI_NEC to allow libcurl to do GSS-style authentication with SOCKS5 proxies. The curl tool got the options called --socks5-gssapi-service and --socks5-gssapi-nec to enable these.
Diffstat (limited to 'lib/urldata.h')
-rw-r--r--lib/urldata.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/urldata.h b/lib/urldata.h
index a06fb5eb4..15e4818f6 100644
--- a/lib/urldata.h
+++ b/lib/urldata.h
@@ -1051,6 +1051,9 @@ struct connectdata {
} proto;
int cselect_bits; /* bitmask of socket events */
+#if defined(HAVE_GSSAPI) || defined(USE_WINDOWS_SSPI)
+ int socks5_gssapi_enctype;
+#endif
};
/* The end of connectdata. */
@@ -1366,6 +1369,9 @@ enum dupstring {
STRING_PROXYPASSWORD, /* Proxy <password>, if used */
STRING_NOPROXY, /* List of hosts which should not use the proxy, if
used */
+#if defined(HAVE_GSSAPI) || defined(USE_WINDOWS_SSPI)
+ STRING_SOCKS5_GSSAPI_SERVICE, /* GSSAPI service name */
+#endif
/* -- end of strings -- */
STRING_LAST /* not used, just an end-of-list marker */
@@ -1524,6 +1530,9 @@ struct UserDefined {
via an HTTP proxy */
char *str[STRING_LAST]; /* array of strings, pointing to allocated memory */
unsigned int scope; /* address scope for IPv6 */
+#if defined(HAVE_GSSAPI) || defined(USE_WINDOWS_SSPI)
+ long socks5_gssapi_nec; /* flag to support nec socks5 server */
+#endif
};
struct Names {