ctrlp
Returns
This function returns
Description
This function creates an
OID, and a criticality flag. The
client requests or internal operations.
Memory Concerns
The contents of the
the caller should not free the
function has been made.
The
LDAPControl
ldap_control_free()
SDK for C Programmer's Guide).
See Also
slapi_build_control()
slapi_dup_control()
ldap_control_free()
slapi_control_present()
Determines whether or not the specified object identification (OID) identifies a
control that is present in a list of controls.
Syntax
#include "slapi-plugin.h"
int slapi_control_present( LDAPControl **controls, char *oid,
struct berval **val, int *iscritical );
Parameters
This function takes the following parameters:
controls
oid
Pointer that will receive the allocated LDAPControl structure.
(LDAP result code) if successful.
LDAP_SUCCESS
structure based on a
LDAPControl
LDAPControl
parameter are consumed by this function. Because of this,
bvp
bvp->bv_val
pointer that is returned in
, which is an LDAP API function (see the Netscape LDAP
List of controls that you want to check.
OID of the control that you want to find.
Functions for Dealing with Controls
struct berval
that is created can be used in LDAP
pointer once a successful call to this
should be freed by calling
ctrlp
Chapter 15
, an
Function Reference
283
Need help?
Do you have a question about the NETSCAPE DIRECTORY SERVER 6.2 - PLUG-IN and is the answer not in the manual?
Questions and answers