r1500: BUG 1516: manually declare ldap_open_with_timeout() to workaround compiler...
authorGerald Carter <jerry@samba.org>
Wed, 14 Jul 2004 13:32:30 +0000 (13:32 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 15:52:13 +0000 (10:52 -0500)
source/include/includes.h

index 7657984bfb195fd04f1911d31b429b5ff2effe14..2664cad098f485ea520001c0c16675a04ba84160 100644 (file)
@@ -1309,6 +1309,15 @@ void free_kerberos_etypes(krb5_context context, krb5_enctype *enctypes);
 BOOL get_krb5_smb_session_key(krb5_context context, krb5_auth_context auth_context, DATA_BLOB *session_key, BOOL remote);
 #endif /* HAVE_KRB5 */
 
+
+#ifdef HAVE_LDAP
+
+/* function declarations not included in proto.h */
+LDAP *ldap_open_with_timeout(const char *server, int port, unsigned int to);
+
+#endif /* HAVE_LDAP */
+
+
 /* TRUE and FALSE are part of the C99 standard and gcc, but
    unfortunately many vendor compilers don't support them.  Use True
    and False instead. */