]> git.sur5r.net Git - openldap/blob - doc/man/man3/cldap_setretryinfo.3
Update misleading statement about ldap_init(). It use is actually
[openldap] / doc / man / man3 / cldap_setretryinfo.3
1 .TH CLDAP_SETRETRYINFO 3 "22 September 1998" "OpenLDAP LDVERSION"
2 .SH NAME
3 cldap_setretryinfo \- Set Connectionless LDAP Request Retransmission Parameters
4 .SH SYNOPSIS
5 .nf
6 .ft B
7 #include <lber.h>
8 #include <ldap.h>
9 .LP
10 .ft B
11 void cldap_setretryinfo(ld, tries, timeout)
12 .ft
13 LDAP *ld;
14 int tries;
15 int timeout;
16 .SH DESCRIPTION
17 .LP
18 The
19 .B cldap_setretryinfo()
20 routine is used to set the CLDAP
21 request retransmission behavior for future
22 .BR cldap_search_s (3)
23 calls.
24 .LP
25 .B cldap_setretryinfo()
26 takes \fIld\fP, the LDAP pointer returned from a
27 previous call to
28 .BR cldap_open (3),
29 \fItries\fP, the maximum number of
30 times to send a request, and \fItimeout\fP, the initial time, in
31 seconds, to wait before re-sending a request.  The default values (set by
32 .BR cldap_open (3))
33 are 4 tries and 3 seconds between tries.  See
34 .BR cldap_search_s (3)
35 for a complete description of the retransmission
36 algorithm used.
37 .LP
38 .SH SEE ALSO
39 .BR ldap (3),
40 .BR cldap_open (3),
41 .BR cldap_search_s (3),
42 .BR cldap_close (3)
43 .SH ACKNOWLEDGEMENTS
44 .B      OpenLDAP
45 is developed and maintained by The OpenLDAP Project (http://www.openldap.org/).
46 .B      OpenLDAP
47 is derived from University of Michigan LDAP 3.3 Release.