xref: /illumos-gate/usr/src/man/man3ldap/cldap_close.3ldap (revision e8d80663e4f91871f843bb8ad9108dc0b76dfcf3)
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_CLOSE 3LDAP "Jan 27, 2002"
NAME
cldap_close - dispose of connectionless LDAP pointer
SYNOPSIS

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

void cldap_close(LDAP *ld);
DESCRIPTION

The cldap_close() function disposes of memory allocated by cldap_open(3LDAP). It should be called when all CLDAP communication is complete.

PARAMETERS
ld

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

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_setretryinfo(3LDAP)