From 260ee6b7bfbc4a49832a1e322d1cc5d9d3c33ddf Mon Sep 17 00:00:00 2001 From: Yang Tse Date: Sat, 27 Aug 2011 19:16:10 +0200 Subject: NTLM_WB: move NTLM_WB specifics into curl_ntlm_wb.[ch] --- lib/curl_ntlm.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'lib/curl_ntlm.h') diff --git a/lib/curl_ntlm.h b/lib/curl_ntlm.h index ef3dfc1e4..fb6cad764 100644 --- a/lib/curl_ntlm.h +++ b/lib/curl_ntlm.h @@ -50,6 +50,9 @@ void Curl_ntlm_sspi_cleanup(struct ntlmdata *ntlm); /* NTLM buffer fixed size, large enough for long user + host + domain */ #define NTLM_BUFSIZE 1024 +/* Stuff only required for curl_ntlm.c */ +#ifdef BUILDING_CURL_NTLM_C + /* Flag bits definitions based on http://davenport.sourceforge.net/ntlm.html */ #define NTLMFLAG_NEGOTIATE_UNICODE (1<<0) @@ -154,6 +157,8 @@ void Curl_ntlm_sspi_cleanup(struct ntlmdata *ntlm); #define NTLMFLAG_NEGOTIATE_56 (1<<31) /* Indicates that 56-bit encryption is supported. */ +#endif /* BUILDING_CURL_NTLM_C */ + #endif /* USE_NTLM */ #endif /* HEADER_CURL_NTLM_H */ -- cgit v1.2.3