summaryrefslogtreecommitdiff
path: root/source3/include/smb_ldap.h
diff options
context:
space:
mode:
Diffstat (limited to 'source3/include/smb_ldap.h')
-rw-r--r--source3/include/smb_ldap.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/source3/include/smb_ldap.h b/source3/include/smb_ldap.h
index 45e586859d..7165de19bf 100644
--- a/source3/include/smb_ldap.h
+++ b/source3/include/smb_ldap.h
@@ -37,7 +37,14 @@ typedef int ber_int_t;
#endif
/* function declarations not included in proto.h */
-LDAP *ldap_open_with_timeout(const char *server, int port, unsigned int to);
+LDAP *ldap_open_with_timeout(const char *server,
+ struct sockaddr_storage *ss,
+ int port, unsigned int to);
+
+#ifdef HAVE_LDAP_PVT_H
+#include <ldap_pvt.h>
+#endif
+int ldap_init_fd(ber_socket_t fd, int proto, char *uri, LDAP **ldp);
#endif /* HAVE_LDAP_H */