Netscape DIRECTORY SERVER 6.2 - PLUG-IN Manual page 234

Table of Contents

Advertisement

Functions for Setting Internal Operation Flags
Description
This function populates parameters in the
by
slapi_add_internal_pb()
slapi_add_internal_set_pb()
Sets up a parameter block so that it can be used by
an internal add operation.
Syntax
#include "slapi-plugin.h"
int slapi_add_internal_set_pb(Slapi_PBlock *pb, const char *dn,
LDAPMod **attrs, LDAPControl **controls,
Slapi_ComponentId *plugin_identity, int operation_flags);
Parameters
This function takes the following parameters:
pb
dn
attrs
controls
plugin_identity
operation_flags
Description
This function is similar to
constructs the entry from a DN and a set of attributes. The function sets
contain the following data:
234
Netscape Directory Server Plug-In Programmer's Guide • December 2003
pblock
for an internal add operation.
Parameter block populated with add parameters.
Entry DN.
Entry attributes.
List of controls associated with the operation.
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.
slapi_add_entry_internal_set_pb()
structure so that it can be used
slapi_add_internal_pb()
except that it
for
to
pblock

Advertisement

Table of Contents
loading

This manual is also suitable for:

Directory server 6.2

Table of Contents