Registering Pre/Post-Operation Functions
Functions Called After the Directory Server Executes an Operation (Continued)
Table 6-2
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 • May 2002
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).
Need help?
Do you have a question about the NETSCAPE DIRECTORY SERVER 6.02 - PLUG-IN and is the answer not in the manual?
Questions and answers