aboutsummaryrefslogtreecommitdiff
path: root/lib/curl_ntlm.h
diff options
context:
space:
mode:
authorSteve Holme <steve_holme@hotmail.com>2011-08-25 15:09:30 +0200
committerYang Tse <yangsita@gmail.com>2011-08-25 15:13:13 +0200
commitd535cff77517214015e2d495677c40cfdec93053 (patch)
tree7143a27a6f4c985e6db2331458e67793c5224156 /lib/curl_ntlm.h
parentf5ad192d2373b24ef600358adb78bf02beffe426 (diff)
http NTLM: refactoring followup
Output of Curl_ntlm_create_type1_message() and Curl_ntlm_create_type3_message() functions is now already base64 encoded.
Diffstat (limited to 'lib/curl_ntlm.h')
-rw-r--r--lib/curl_ntlm.h12
1 files changed, 5 insertions, 7 deletions
diff --git a/lib/curl_ntlm.h b/lib/curl_ntlm.h
index 24021033a..ef3dfc1e4 100644
--- a/lib/curl_ntlm.h
+++ b/lib/curl_ntlm.h
@@ -24,22 +24,20 @@
#ifdef USE_NTLM
-/* This is to generate a ntlm type-1 message */
+/* This is to generate a base64 encoded NTLM type-1 message */
CURLcode Curl_ntlm_create_type1_message(const char *userp,
const char *passwdp,
struct ntlmdata *ntlm,
- unsigned char *ntlmbuf,
- size_t *size);
+ char **outptr);
-/* This is to generate a ntlm type-3 message */
+/* This is to generate a base64 encoded NTLM type-3 message */
CURLcode Curl_ntlm_create_type3_message(struct SessionHandle *data,
const char *userp,
const char *passwdp,
struct ntlmdata *ntlm,
- unsigned char *ntlmbuf,
- size_t *size);
+ char **outptr);
-/* This is to decode a ntlm type-2 message */
+/* This is to decode a NTLM type-2 message */
CURLcode Curl_ntlm_decode_type2_message(struct SessionHandle *data,
const char* header,
struct ntlmdata* ntlm);