summaryrefslogtreecommitdiff
path: root/lib/curl_ntlm_wb.h
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2011-08-27 19:16:10 +0200
committerYang Tse <yangsita@gmail.com>2011-08-27 19:16:10 +0200
commit260ee6b7bfbc4a49832a1e322d1cc5d9d3c33ddf (patch)
tree41df8db943b4c899ec09a8806f6a9d55c3896905 /lib/curl_ntlm_wb.h
parentb976d108f1beecff743f912f190ffc89f1ef9098 (diff)
downloadcurl-260ee6b7bfbc4a49832a1e322d1cc5d9d3c33ddf.tar.gz
NTLM_WB: move NTLM_WB specifics into curl_ntlm_wb.[ch]
Diffstat (limited to 'lib/curl_ntlm_wb.h')
-rw-r--r--lib/curl_ntlm_wb.h35
1 files changed, 35 insertions, 0 deletions
diff --git a/lib/curl_ntlm_wb.h b/lib/curl_ntlm_wb.h
new file mode 100644
index 000000000..b7448a736
--- /dev/null
+++ b/lib/curl_ntlm_wb.h
@@ -0,0 +1,35 @@
+#ifndef HEADER_CURL_NTLM_WB_H
+#define HEADER_CURL_NTLM_WB_H
+/***************************************************************************
+ * _ _ ____ _
+ * Project ___| | | | _ \| |
+ * / __| | | | |_) | |
+ * | (__| |_| | _ <| |___
+ * \___|\___/|_| \_\_____|
+ *
+ * Copyright (C) 1998 - 2011, Daniel Stenberg, <daniel@haxx.se>, et al.
+ *
+ * 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.
+ *
+ * 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.
+ *
+ ***************************************************************************/
+
+#if defined(USE_NTLM) && defined(NTLM_WB_ENABLED)
+
+/* this is for creating ntlm header output by delegating challenge/response
+ to Samba's winbind daemon helper ntlm_auth */
+CURLcode Curl_output_ntlm_wb(struct connectdata *conn, bool proxy);
+
+void Curl_ntlm_wb_cleanup(struct connectdata *conn);
+
+#endif
+
+#endif /* HEADER_CURL_NTLM_WB_H */