Netscape DIRECTORY SERVER 6.1 - PLUG-IN Manual page 233

Table of Contents

Advertisement

Internal Operation Flag Routines (Continued)
Table 15-4
Function
slapi_seq_internal_callback_pb()
slapi_seq_internal_set_pb()
slapi_add_entry_internal_set_pb()
Sets up a parameter block so that it can be used by
an internal add operation.
Syntax
#include "slapi-plugin.h"
void slapi_add_entry_internal_set_pb(Slapi_PBlock *pb,
Slapi_Entry *e, LDAPControl **controls,
Slapi_ComponentId *plugin_identity, int operation_flags);
Parameters
This function takes the following parameters:
pb
e
controls
plugin_identity
operation_flags
Description
Performs internal sequential access operation.
Sets up a parameter block for use by
slapi_seq_internal_callback_pb() for an internal,
sequential-access operation.
Parameter block populated with add parameters.
Entry to be added.
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.
Functions for Setting Internal Operation Flags
slapi_add_internal_pb()
Chapter 15
Function Reference
for
233

Advertisement

Table of Contents
loading

This manual is also suitable for:

Directory server 6.1

Table of Contents