aboutsummaryrefslogtreecommitdiff
path: root/lib/urldata.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/urldata.h')
-rw-r--r--lib/urldata.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/lib/urldata.h b/lib/urldata.h
index 58f700677..4dbd4092a 100644
--- a/lib/urldata.h
+++ b/lib/urldata.h
@@ -86,6 +86,10 @@
#include <zlib.h> /* for content-encoding 08/28/02 jhrg */
#endif
+#ifdef GSSAPI
+#include <gssapi.h>
+#endif
+
/* Download buffer size, keep it fairly big for speed reasons */
#define BUFSIZE CURL_MAX_WRITE_SIZE
@@ -160,6 +164,15 @@ struct digestdata {
int algo;
};
+#ifdef GSSAPI
+struct negotiatedata {
+ OM_uint32 status;
+ gss_ctx_id_t context;
+ gss_name_t server_name;
+ gss_buffer_desc output_token;
+};
+#endif
+
/****************************************************************************
* HTTP unique setup
***************************************************************************/
@@ -627,6 +640,10 @@ struct UrlState {
is always set TRUE when curl_easy_perform() is called. */
struct digestdata digest;
+
+#ifdef GSSAPI
+ struct negotiatedata negotiate;
+#endif
};
@@ -672,6 +689,9 @@ struct UserDefined {
long use_port; /* which port to use (when not using default) */
char *userpwd; /* <user:password>, if used */
bool httpdigest; /* if HTTP Digest is enabled */
+#ifdef GSSAPI
+ bool httpnegotiate; /* if HTTP Negotiate authentication is enabled */
+#endif
char *set_range; /* range, if used. See README for detailed specification
on this syntax. */
long followlocation; /* as in HTTP Location: */