diff options
author | Yang Tse <yangsita@gmail.com> | 2011-08-27 19:16:10 +0200 |
---|---|---|
committer | Yang Tse <yangsita@gmail.com> | 2011-08-27 19:16:10 +0200 |
commit | 260ee6b7bfbc4a49832a1e322d1cc5d9d3c33ddf (patch) | |
tree | 41df8db943b4c899ec09a8806f6a9d55c3896905 /lib/http_ntlm.h | |
parent | b976d108f1beecff743f912f190ffc89f1ef9098 (diff) | |
download | curl-260ee6b7bfbc4a49832a1e322d1cc5d9d3c33ddf.tar.gz |
NTLM_WB: move NTLM_WB specifics into curl_ntlm_wb.[ch]
Diffstat (limited to 'lib/http_ntlm.h')
-rw-r--r-- | lib/http_ntlm.h | 16 |
1 files changed, 6 insertions, 10 deletions
diff --git a/lib/http_ntlm.h b/lib/http_ntlm.h index 635d6313b..a074380a3 100644 --- a/lib/http_ntlm.h +++ b/lib/http_ntlm.h @@ -22,6 +22,8 @@ * ***************************************************************************/ +#ifdef USE_NTLM + /* this is for ntlm header input */ CURLcode Curl_input_ntlm(struct connectdata *conn, bool proxy, const char *header); @@ -29,18 +31,12 @@ CURLcode Curl_input_ntlm(struct connectdata *conn, bool proxy, /* this is for creating ntlm header output */ CURLcode Curl_output_ntlm(struct connectdata *conn, bool proxy); -#ifdef NTLM_WB_ENABLED -/* this is for creating ntlm header output by delegating challenge/response - to Samba's winbind daemon helper ntlm_auth */ -CURLcode Curl_output_ntlm_wb(struct connectdata *conn, bool proxy); -#endif - -#ifdef USE_NTLM void Curl_http_ntlm_cleanup(struct connectdata *conn); + #else -#define Curl_http_ntlm_cleanup(x) -#endif -#include "curl_ntlm.h" +#define Curl_http_ntlm_cleanup(a) + +#endif #endif /* HEADER_CURL_HTTP_NTLM_H */ |