2011-07-31 20:44:41 +02:00
|
|
|
#ifndef HEADER_CURL_HTTP_NTLM_H
|
|
|
|
#define HEADER_CURL_HTTP_NTLM_H
|
2003-06-11 15:38:55 +02:00
|
|
|
/***************************************************************************
|
2005-03-11 00:15:29 +01:00
|
|
|
* _ _ ____ _
|
|
|
|
* Project ___| | | | _ \| |
|
|
|
|
* / __| | | | |_) | |
|
|
|
|
* | (__| |_| | _ <| |___
|
2003-06-11 15:38:55 +02:00
|
|
|
* \___|\___/|_| \_\_____|
|
|
|
|
*
|
2011-07-18 23:36:36 +02:00
|
|
|
* Copyright (C) 1998 - 2011, Daniel Stenberg, <daniel@haxx.se>, et al.
|
2003-06-11 15:38:55 +02: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-11 00:15:29 +01:00
|
|
|
*
|
2003-06-11 15:38:55 +02: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 23:58:27 +02:00
|
|
|
CURLcode Curl_input_ntlm(struct connectdata *conn, bool proxy,
|
2009-02-27 09:53:10 +01:00
|
|
|
const char *header);
|
2003-06-11 15:38:55 +02:00
|
|
|
|
|
|
|
/* this is for creating ntlm header output */
|
2004-03-30 08:39:24 +02:00
|
|
|
CURLcode Curl_output_ntlm(struct connectdata *conn, bool proxy);
|
2003-06-11 15:38:55 +02:00
|
|
|
|
2011-07-31 20:44:41 +02:00
|
|
|
#ifdef WINBIND_NTLM_AUTH_ENABLED
|
2011-07-18 23:36:36 +02:00
|
|
|
/* this is for creating ntlm header output by delegating challenge/response
|
2011-07-31 20:44:41 +02:00
|
|
|
to Samba's winbind daemon helper ntlm_auth */
|
2011-07-18 23:36:36 +02:00
|
|
|
CURLcode Curl_output_ntlm_sso(struct connectdata *conn, bool proxy);
|
|
|
|
#endif
|
|
|
|
|
2011-08-09 22:56:17 +02:00
|
|
|
#ifdef USE_NTLM
|
2011-08-09 22:53:48 +02:00
|
|
|
void Curl_http_ntlm_cleanup(struct connectdata *conn);
|
2011-08-09 22:56:17 +02:00
|
|
|
#else
|
|
|
|
#define Curl_http_ntlm_cleanup(x)
|
|
|
|
#endif
|
2003-06-11 15:38:55 +02:00
|
|
|
|
2011-08-12 22:01:27 +02:00
|
|
|
#include "curl_ntlm.h"
|
2011-07-31 20:44:41 +02:00
|
|
|
|
|
|
|
#endif /* HEADER_CURL_HTTP_NTLM_H */
|