Registering Pre/Post-Operation Functions - Netscape DIRECTORY SERVER 6.2 - PLUG-IN Manual

Table of Contents

Advertisement

Registering Pre/Post-Operation Functions

Table 6-2
Functions Called After the Directory Server Executes an Operation (Continued)
ID in Parameter Block
SLAPI_PLUGIN_POST_ENTRY_FN
SLAPI_PLUGIN_POST_REFERRAL_FN
SLAPI_PLUGIN_POST_RESULT_FN
Registering Pre/Post-Operation Functions
To register your pre-operation and post-operation plug-in functions, you need to
write an initialization function and then configure the server to load your plug-in.
For details, follow the procedures outlined in "Writing Plug-in Initialization
Functions" on page 32 and "Configuring Plug-Ins" on page 39.
76
Netscape Directory Server Plug-In Programmer's Guide • December 2003
Description
Specifies the function called after the Directory Server
sends an entry back to the client (for example, when you
call slapi_send_ldap_search_entry(), the
post-operation entry function is called after the entry is sent
back to the client).
Specifies the function called after the Directory Server
sends a referral back to the client (for example, when you
call slapi_str2filter(), the pre-operation referral
function is called after the referral is sent back to the client).
Specifies the function called after the Directory Server
sends a result code back to the client (for example, when
you call slapi_send_ldap_result(), the pre-operation
result function is called after the result code is sent back to
the client).

Advertisement

Table of Contents
loading

This manual is also suitable for:

Directory server 6.2

Table of Contents