From b4d6db83debe4f57a94d23e50764f290c86f753a Mon Sep 17 00:00:00 2001 From: Yang Tse Date: Sat, 13 Aug 2011 23:58:27 +0200 Subject: http NTLM: change return type of Curl_input_ntlm() to CURLcode Remove CURLntlm enum, no longer required. --- lib/http_ntlm.h | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) (limited to 'lib/http_ntlm.h') diff --git a/lib/http_ntlm.h b/lib/http_ntlm.h index c80bb09ff..d3b79ed2c 100644 --- a/lib/http_ntlm.h +++ b/lib/http_ntlm.h @@ -22,17 +22,8 @@ * ***************************************************************************/ -typedef enum { - CURLNTLM_NONE, /* not a ntlm */ - CURLNTLM_BAD, /* an ntlm, but one we don't like */ - CURLNTLM_FIRST, /* the first 401-reply we got with NTLM */ - CURLNTLM_FINE, /* an ntlm we act on */ - - CURLNTLM_LAST /* last entry in this enum, don't use */ -} CURLntlm; - /* this is for ntlm header input */ -CURLntlm Curl_input_ntlm(struct connectdata *conn, bool proxy, +CURLcode Curl_input_ntlm(struct connectdata *conn, bool proxy, const char *header); /* this is for creating ntlm header output */ -- cgit v1.2.3