aboutsummaryrefslogtreecommitdiff
path: root/lib/curl_ldap.h
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2007-08-11 20:57:54 +0000
committerDaniel Stenberg <daniel@haxx.se>2007-08-11 20:57:54 +0000
commitd0edb478964cb5bf7446c34d5ac1e9d34dc5ca63 (patch)
tree3586035627505068f2653da29b66d1201d3d5a8e /lib/curl_ldap.h
parentb238e0b1b4e8f3e5c4e9c0d7d8c565e3776b0999 (diff)
Patrick Monnerat modified the LDAP code and approach in curl. Starting now,
the configure script checks for openldap and friends and we link with those libs just like we link all other third party libraries, and we no longer dlopen() those libraries. Our private header file lib/ldap.h was renamed to lib/curl_ldap.h due to this. I set a tag in CVS (curl-7_17_0-preldapfix) just before this commit, just in case.
Diffstat (limited to 'lib/curl_ldap.h')
-rw-r--r--lib/curl_ldap.h29
1 files changed, 29 insertions, 0 deletions
diff --git a/lib/curl_ldap.h b/lib/curl_ldap.h
new file mode 100644
index 000000000..071cbcb43
--- /dev/null
+++ b/lib/curl_ldap.h
@@ -0,0 +1,29 @@
+#ifndef __CURL_LDAP_H
+#define __CURL_LDAP_H
+
+/***************************************************************************
+ * _ _ ____ _
+ * Project ___| | | | _ \| |
+ * / __| | | | |_) | |
+ * | (__| |_| | _ <| |___
+ * \___|\___/|_| \_\_____|
+ *
+ * Copyright (C) 1998 - 2007, 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.
+ *
+ * $Id$
+ ***************************************************************************/
+#ifndef CURL_DISABLE_LDAP
+CURLcode Curl_ldap(struct connectdata *conn, bool *done);
+#endif
+#endif /* __CURL_LDAP_H */