Functions For Dealing With Controls - Netscape DIRECTORY SERVER 6.02 - PLUG-IN Manual

Table of Contents

Advertisement

Returns
This function returns one of the following values:
0 if the DN is not a root suffix.
1 if the DN is a root suffix.

Functions for Dealing with Controls

This section contains reference information on routines for dealing with controls.
Table 14-7
Routines for Dealing with Controls
Function
slapi_build_control()
slapi_build_control_from_berval()
slapi_control_present()
slapi_dup_control()
slapi_get_supported_controls_copy()
slapi_register_supported_control()
slapi_build_control()
Creates an
flag.
Syntax
#include "slapi-plugin.h"
int slapi_build_control( char *oid, BerElement *ber,
char iscritical, LDAPControl **ctrlp );
Description
Creates an LDAPControl structure based on a BerElement, an
OID, and a criticality flag.
Creates an
LDAPControl
, an OID, and a criticality flag.
berval
Determines whether or not the specified object identification (OID)
identifies a control that is present in a list of controls.
Makes an allocated copy of an LDAPControl.
Retrieves an allocated array of object identifiers (OIDs)
representing the controls supported by the Directory Server.
Registers the specified control with the server. This function
associates the control with an object identification (OID).
structure based on a
LDAPControl
Functions for Dealing with Controls
structure based on a
, an OID, and a criticality
BerElement
Chapter 14
Function Reference
struct
239

Advertisement

Table of Contents
loading

This manual is also suitable for:

Directory server 6.02

Table of Contents