| Current File : //usr/share/man/man3ldap/cldap_setretryinfo.3ldap |
'\" te
.\" Copyright (c) 1990, Regents of the University of Michigan. All Rights Reserved.
.\" Portions Copyright (c) 2002, 2011, Oracle and/or its affiliates. All rights reserved.
.TH cldap_setretryinfo 3LDAP "23 Aug 2011" "SunOS 5.11" "LDAP Library Functions"
.SH NAME
cldap_setretryinfo \- set connectionless LDAP request retransmission parameters
.SH SYNOPSIS
.LP
.nf
cc[ \fIflag\fR... ] \fIfile\fR... -lldap[ \fIlibrary\fR... ]
#include <lber.h>
#include <ldap.h>
\fBvoid\fR \fBcldap_setretryinfo\fR(\fBLDAP\fR \fI*ld\fR, \fBint\fR \fItries\fR, \fBint\fR \fItimeout\fR);
.fi
.SH PARAMETERS
.sp
.ne 2
.mk
.na
\fB\fIld\fR \fR
.ad
.RS 12n
.rt
LDAP pointer returned from a previous call to \fBcldap_open\fR(3LDAP).
.RE
.sp
.ne 2
.mk
.na
\fB\fItries\fR \fR
.ad
.RS 12n
.rt
Maximum number of times to send a request.
.RE
.sp
.ne 2
.mk
.na
\fB\fItimeout\fR \fR
.ad
.RS 12n
.rt
Initial time, in seconds, to wait before re-sending a request.
.RE
.SH DESCRIPTION
.sp
.LP
The \fBcldap_setretryinfo()\fR function is used to set the CLDAP request retransmission behavior for future \fBcldap_search_s\fR(3LDAP) calls. The default values (set by \fBcldap_open\fR(3LDAP)) are 4 tries and 3 seconds between tries. See \fBcldap_search_s\fR(3LDAP) for a complete description of the retransmission algorithm used.
.SH ATTRIBUTES
.sp
.LP
See \fBattributes\fR(5) for a description of the following attributes:
.sp
.sp
.TS
tab() box;
cw(2.75i) |cw(2.75i)
lw(2.75i) |lw(2.75i)
.
ATTRIBUTE TYPEATTRIBUTE VALUE
_
Availabilitysystem/library
_
Interface StabilityCommitted
.TE
.SH SEE ALSO
.sp
.LP
\fBldap\fR(3LDAP), \fBcldap_open\fR(3LDAP), \fBcldap_search_s\fR(3LDAP), \fBcldap_close\fR(3LDAP), \fBattributes\fR(5)