]> git.sur5r.net Git - openldap/blobdiff - doc/man/man3/ldap_open.3
ITS#7532 - Add new function ldap_connect().
[openldap] / doc / man / man3 / ldap_open.3
index 1d5e2b5e29505a93b82e5bcf20015b37991d5ebb..66b0b98f82a8988f8372eb9d2d12f43e908ceebf 100644 (file)
@@ -30,6 +30,11 @@ LDAP **ldp;
 char *uri;
 .LP
 .ft B
+int ldap_connect(ldp)
+.ft
+LDAP *ldp;
+.LP
+.ft B
 int ldap_set_urllist_proc(ld, proc, params)
 .ft
 LDAP *ld;
@@ -141,6 +146,12 @@ are deprecated in favor of
 essentially because the latter allows to specify a schema in the URI
 and it explicitly returns an error code.
 .LP
+.B ldap_connect()
+causes a handle created by
+.B ldap_initialize()
+to connect to the server. This is useful in situations where a file
+descriptor is required before a request is performed.
+.LP
 .B ldap_init_fd()
 allows an LDAP structure to be initialized using an already-opened
 connection. The