aboutsummaryrefslogtreecommitdiff
path: root/lib/curl_ntlm_msgs.h
diff options
context:
space:
mode:
authorPrash Dush <pradush123@gmail.com>2014-01-24 13:01:29 +0000
committerSteve Holme <steve_holme@hotmail.com>2014-01-29 20:17:11 +0000
commit86724581b6c02d160b52f817550cfdfc9c93af62 (patch)
tree475080060186fb102c89ff98ed866744433c2a81 /lib/curl_ntlm_msgs.h
parent665c160f0a4635565b44704ca281d2a03e715d6d (diff)
ntlm: Added support for NTLMv2
Diffstat (limited to 'lib/curl_ntlm_msgs.h')
-rw-r--r--lib/curl_ntlm_msgs.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/lib/curl_ntlm_msgs.h b/lib/curl_ntlm_msgs.h
index e7d185dea..d8000b5fe 100644
--- a/lib/curl_ntlm_msgs.h
+++ b/lib/curl_ntlm_msgs.h
@@ -7,7 +7,7 @@
* | (__| |_| | _ <| |___
* \___|\___/|_| \_\_____|
*
- * Copyright (C) 1998 - 2012, Daniel Stenberg, <daniel@haxx.se>, et al.
+ * Copyright (C) 1998 - 2014, Daniel Stenberg, <daniel@haxx.se>, et al.
*
* This software is licensed as described in the file COPYING, which
* you should have received as part of this distribution. The terms
@@ -46,6 +46,13 @@ CURLcode Curl_ntlm_decode_type2_message(struct SessionHandle *data,
const char* header,
struct ntlmdata* ntlm);
+/* This is to decode target info received in NTLM type-2 message */
+CURLcode Curl_ntlm_decode_type2_target(struct SessionHandle *data,
+ unsigned char* buffer,
+ size_t size,
+ struct ntlmdata* ntlm);
+
+
/* This is to clean up the ntlm data structure */
#ifdef USE_WINDOWS_SSPI
void Curl_ntlm_sspi_cleanup(struct ntlmdata *ntlm);