xref: /titanic_44/usr/src/man/man3ldap/cldap_setretryinfo.3ldap (revision cf4a31c0ba08a2c3f8fceda20e97e29741f7edea)
te
Copyright (C) 1990, Regents of the University of Michigan. All Rights Reserved.
Portions Copyright (C) 2002, Sun Microsystems, Inc. All Rights Reserved.
The contents of this file are subject to the terms of the Common Development and Distribution License (the "License"). You may not use this file except in compliance with the License.
You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing. See the License for the specific language governing permissions and limitations under the License.
When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE. If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
CLDAP_SETRETRYINFO 3LDAP "Jan 27, 2002"
NAME
cldap_setretryinfo - set connectionless LDAP request retransmission parameters
SYNOPSIS

cc[ flag... ] file... -lldap[ library... ]
#include <lber.h>
#include <ldap.h>

void cldap_setretryinfo(LDAP *ld, int tries, int timeout);
PARAMETERS
ld

LDAP pointer returned from a previous call to cldap_open(3LDAP).

tries

Maximum number of times to send a request.

timeout

Initial time, in seconds, to wait before re-sending a request.

DESCRIPTION

The cldap_setretryinfo() function is used to set the CLDAP request retransmission behavior for future cldap_search_s(3LDAP) calls. The default values (set by cldap_open(3LDAP)) are 4 tries and 3 seconds between tries. See cldap_search_s(3LDAP) for a complete description of the retransmission algorithm used.

ATTRIBUTES

See attributes(5) for a description of the following attributes:

ATTRIBUTE TYPE ATTRIBUTE VALUE
Interface Stability Evolving
SEE ALSO

ldap(3LDAP), cldap_open(3LDAP), cldap_search_s(3LDAP), cldap_close(3LDAP), attributes(5)