Netscape DIRECTORY SERVER 6.2 - PLUG-IN Manual page 236

Table of Contents

Advertisement

Functions for Setting Internal Operation Flags
plugin_identity
operation_flags
Description
This function populates
slapi_delete_internal_pb()
For unique identifier-based operation:
SLAPI_TARGET_DN
SLAPI_TARGET_UNIQUEID
SLAPI_CONTROLS_ARG
For DN-based search:
SLAPI_TARGET_DN
SLAPI_CONTROLS_ARG
slapi_modify_internal_set_pb()
Sets up a parameter block so that it can be used by
for an internal modify operation.
Syntax
#include "slapi-plugin.h"
void slapi_modify_internal_set_pb(Slapi_PBlock *pb, const char *dn,
LDAPMod **mods, LDAPControl **controls, const char *uniqueid,
Slapi_ComponentId *plugin_identity, int operation_flags);
Parameters
This function takes the following parameters:
236
Netscape Directory Server Plug-In Programmer's Guide • December 2003
Plug-in identity, a cookie that identifies the plug-in to the
Directory Server during an internal operation.
This cookie is used by the server to retrieve the plug-in
configuration in order to determine whether to allow the
operation and which actions to take during the operation
processing. Plug-in identity is passed to the plug-in initialization
function in the SLAPI_PLUGIN_IDENTITY pblock parameter.
A plug-in must save this information and pass it to every
internal operation issued by the plug-in.
Actions taken during operation processing.
to contain data for use by
pblock
for an internal delete operation.
set to the DN that allows to select the right backend.
set to the unique ID of the entry.
set request controls, if present.
set to the entry DN.
set to request controls, if present.
slapi_modify_internal_pb()

Advertisement

Table of Contents
loading

This manual is also suitable for:

Directory server 6.2

Table of Contents