xref: /titanic_41/usr/src/man/man3ldap/ldap_control_free.3ldap (revision 7535ae1914017b0e648abd7a139aca709fa82be3)
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]
LDAP_CONTROL_FREE 3LDAP "Jan 27, 2002"
NAME
ldap_control_free, ldap_controls_free - LDAP control disposal
SYNOPSIS

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

void ldap_control_free(LDAPControl *ctrl);

void ldap_controls_free(LDAPControl *ctrls);
DESCRIPTION

ldap_controls_free() and ldap_control_free() are routines which can be used to dispose of a single control or an array of controls allocated by other LDAP APIs.

RETURN VALUES

None.

ERRORS

No errors are defined for these functions.

ATTRIBUTES

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

ATTRIBUTE TYPE ATTRIBUTE VALUE
Interface Stability Evolving
SEE ALSO

ldap_error(3LDAP), ldap_result(3LDAP), attributes(5)