diff options
author | Daniel Stenberg <daniel@haxx.se> | 2003-06-10 12:22:19 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2003-06-10 12:22:19 +0000 |
commit | e56ae1426cb7a0a4a427cf8d6099a821fdaae428 (patch) | |
tree | 42fd54560e276dcaefec12be5f60987b8a146f0e /lib/urldata.h | |
parent | 696843c020ba5beea9f1479b8f433e1ea322f987 (diff) | |
download | curl-e56ae1426cb7a0a4a427cf8d6099a821fdaae428.tar.gz |
Daniel Kouril's patch that adds HTTP negotiation support to libcurl was
added.
Diffstat (limited to 'lib/urldata.h')
-rw-r--r-- | lib/urldata.h | 20 |
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: */ |