Netscape DIRECTORY SERVER 6.02 - PLUG-IN Manual page 240

Table of Contents

Advertisement

Functions for Dealing with Controls
Parameters
This function takes the following parameters:
oid
ber
iscritical
ctrlp
Returns
This function returns
Description
This function creates an
and a criticality flag. The
requests or internal operations.
Memory Concerns
The contents of the
the caller should not free the
slapi_build_control()
The
LDAPControl
ldap_control_free()
SDK for C Programmer's Guide).
See Also
slapi_build_control_from_berval()
slapi_build_control()
ldap_control_free()
slapi_build_control_from_berval()
Creates an
criticality flag.
240
Netscape Directory Server Plug-In Programmer's Guide • May 2002
The OID (object identifier) for the control that is to be created.
A BerElement that contains the control value. Pass NULL if the
control has no value.
The criticality flag. If non-zero, the control will be marked as
critical. If 0, it wall not be marked as critical.
Pointer that will receive the allocated LDAPControl structure.
LDAP_SUCCESS
LDAPCotnrol
LDAPControl
parameter are consumed by this function. Because of this,
ber
BerElement
.
pointer that is returned in
, which is an LDAP API function (see the Netscape LDAP
structure based on a
LDAPControl
(LDAP result code) if successful.
structure based on a
that is created can be used in LDAP client
once a successful call has been made to
should be freed by calling
ctrlp
struct berval
, an OID,
BerElement
, an OID, and a

Advertisement

Table of Contents
loading

This manual is also suitable for:

Directory server 6.02

Table of Contents