Netscape DIRECTORY SERVER 6.02 - PLUG-IN Manual page 245

Table of Contents

Advertisement

See Also
slapi_register_supported_control()
slapi_ch_array_free()
slapi_register_supported_control()
Registers the specified control with the server. This function associates the control
with an object identification (OID). When the server receives a request that
specifies this OID, the server makes use of this information to determine if the
control is supported by the server or its plug-ins.
Syntax
#include "slapi-plugin.h"
void slapi_register_supported_control( char *controloid,
unsigned long controlops );
Parameters
This function takes the following parameters:
controloid
controlops
SLAPI_OPERATION_BIND
SLAPI_OPERATION_UNBIND
SLAPI_OPERATION_SEARCH
SLAPI_OPERATION_MODIFY
SLAPI_OPERATION_ADD
SLAPI_OPERATION_DELETE
SLAPI_OPERATION_MODDN
SLAPI_OPERATION_MODRDN
OID of the control you want to register.
Operation that the control is applicable to.
The specified control applies to the LDAP bind
operation.
The specified control applies to the LDAP unbind
operation.
The specified control applies to the LDAP search
operation.
The specified control applies to the LDAP modify
operation.
The specified control applies to the LDAP add
operation.
The specified control applies to the LDAP delete
operation.
The specified control applies to the LDAP modify DN
operation.
The specified control applies to the LDAPv3 modify
RDN operation.
Chapter 14
Functions for Dealing with Controls
Function Reference
245

Advertisement

Table of Contents
loading

This manual is also suitable for:

Directory server 6.02

Table of Contents