2011-07-31 14:44:41 -04:00
|
|
|
#ifndef HEADER_CURL_HTTP_NTLM_H
|
|
|
|
#define HEADER_CURL_HTTP_NTLM_H
|
2003-06-11 09:38:55 -04:00
|
|
|
/***************************************************************************
|
2005-03-10 18:15:29 -05:00
|
|
|
* _ _ ____ _
|
|
|
|
* Project ___| | | | _ \| |
|
|
|
|
* / __| | | | |_) | |
|
|
|
|
* | (__| |_| | _ <| |___
|
2003-06-11 09:38:55 -04:00
|
|
|
* \___|\___/|_| \_\_____|
|
|
|
|
*
|
2011-07-18 17:36:36 -04:00
|
|
|
* Copyright (C) 1998 - 2011, Daniel Stenberg, <daniel@haxx.se>, et al.
|
2003-06-11 09:38:55 -04:00
|
|
|
*
|
|
|
|
* This software is licensed as described in the file COPYING, which
|
|
|
|
* you should have received as part of this distribution. The terms
|
|
|
|
* are also available at http://curl.haxx.se/docs/copyright.html.
|
2005-03-10 18:15:29 -05:00
|
|
|
*
|
2003-06-11 09:38:55 -04:00
|
|
|
* You may opt to use, copy, modify, merge, publish, distribute and/or sell
|
|
|
|
* copies of the Software, and permit persons to whom the Software is
|
|
|
|
* furnished to do so, under the terms of the COPYING file.
|
|
|
|
*
|
|
|
|
* This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
|
|
|
|
* KIND, either express or implied.
|
|
|
|
*
|
|
|
|
***************************************************************************/
|
|
|
|
|
|
|
|
/* this is for ntlm header input */
|
2011-08-13 17:58:27 -04:00
|
|
|
CURLcode Curl_input_ntlm(struct connectdata *conn, bool proxy,
|
2009-02-27 03:53:10 -05:00
|
|
|
const char *header);
|
2003-06-11 09:38:55 -04:00
|
|
|
|
|
|
|
/* this is for creating ntlm header output */
|
2004-03-30 01:39:24 -05:00
|
|
|
CURLcode Curl_output_ntlm(struct connectdata *conn, bool proxy);
|
2003-06-11 09:38:55 -04:00
|
|
|
|
2011-07-31 14:44:41 -04:00
|
|
|
#ifdef WINBIND_NTLM_AUTH_ENABLED
|
2011-07-18 17:36:36 -04:00
|
|
|
/* this is for creating ntlm header output by delegating challenge/response
|
2011-07-31 14:44:41 -04:00
|
|
|
to Samba's winbind daemon helper ntlm_auth */
|
2011-08-26 12:57:50 -04:00
|
|
|
CURLcode Curl_output_ntlm_wb(struct connectdata *conn, bool proxy);
|
2011-07-18 17:36:36 -04:00
|
|
|
#endif
|
|
|
|
|
2011-08-09 16:56:17 -04:00
|
|
|
#ifdef USE_NTLM
|
2011-08-09 16:53:48 -04:00
|
|
|
void Curl_http_ntlm_cleanup(struct connectdata *conn);
|
2011-08-09 16:56:17 -04:00
|
|
|
#else
|
|
|
|
#define Curl_http_ntlm_cleanup(x)
|
|
|
|
#endif
|
2003-06-11 09:38:55 -04:00
|
|
|
|
2011-08-12 16:01:27 -04:00
|
|
|
#include "curl_ntlm.h"
|
2011-07-31 14:44:41 -04:00
|
|
|
|
|
|
|
#endif /* HEADER_CURL_HTTP_NTLM_H */
|