diff options
author | Yang Tse <yangsita@gmail.com> | 2011-08-13 23:58:27 +0200 |
---|---|---|
committer | Yang Tse <yangsita@gmail.com> | 2011-08-13 23:59:29 +0200 |
commit | b4d6db83debe4f57a94d23e50764f290c86f753a (patch) | |
tree | 48823ce4a31fbfa1f074334ab5150fdc87198818 /lib/http_ntlm.h | |
parent | e209f3f176d939a3e8f90a41224b172a372bf655 (diff) | |
download | curl-b4d6db83debe4f57a94d23e50764f290c86f753a.tar.gz |
http NTLM: change return type of Curl_input_ntlm() to CURLcode
Remove CURLntlm enum, no longer required.
Diffstat (limited to 'lib/http_ntlm.h')
-rw-r--r-- | lib/http_ntlm.h | 11 |
1 files changed, 1 insertions, 10 deletions
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 */ |