summaryrefslogtreecommitdiff
path: root/lib/http_ntlm.h
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2011-08-12 19:51:50 +0200
committerYang Tse <yangsita@gmail.com>2011-08-12 19:51:50 +0200
commit3293150da2aa6ba928b0f848a6b690466b227034 (patch)
tree7217ddab11b7bc29f8fb7705a8f0d70aca9381d3 /lib/http_ntlm.h
parent784971743dc57077c9b1b1af15d29273ca2e912c (diff)
downloadcurl-3293150da2aa6ba928b0f848a6b690466b227034.tar.gz
http NTLM: more adjustments in preparation of code refactoring
Use preprocessor symbol NTLM_BUFSIZE to define private NTLM buffer fixed size. Use a SessionHandle 'data' pointer variable to ease refactoring. Update NTLM type-* message structure descriptions. Fix some more spacing and typos (Steve Holme).
Diffstat (limited to 'lib/http_ntlm.h')
-rw-r--r--lib/http_ntlm.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/http_ntlm.h b/lib/http_ntlm.h
index 179f08348..f3d51c373 100644
--- a/lib/http_ntlm.h
+++ b/lib/http_ntlm.h
@@ -50,6 +50,9 @@ void Curl_http_ntlm_cleanup(struct connectdata *conn);
#define Curl_http_ntlm_cleanup(x)
#endif
+/* NTLM buffer fixed size, large enough for long user + host + domain */
+#define NTLM_BUFSIZE 1024
+
/* Flag bits definitions based on http://davenport.sourceforge.net/ntlm.html */
#define NTLMFLAG_NEGOTIATE_UNICODE (1<<0)