HP-UX Directory Server 8.1 plug-in reference

Table Of Contents
Table 6-2 Functions called after the Directory Server executes an operation (continued)
Further informationDescriptionID in parameter block
“Processing an LDAP search
operation”.
Specifies the function called after the
Directory Server executes an LDAP search
operation.
SLAPI_PLUGIN_POST_SEARCH_FN
“Processing an LDAP compare
operation”.
Specifies the function called after the
Directory Server executes an LDAP
compare operation.
SLAPI_PLUGIN_POST_COMPARE_FN
“Processing an LDAP add operation”.Specifies the function called after the
Directory Server executes an LDAP add
operation.
SLAPI_PLUGIN_POST_ADD_FN
“Processing an LDAP modify
operation”.
Specifies the function called after the
Directory Server executes an LDAP
modify operation.
SLAPI_PLUGIN_POST_MODIFY_FN
“Processing an LDAP modify RDN
operation”.
Specifies the function called after the
Directory Server executes an LDAP
modifyRDN operation.
SLAPI_PLUGIN_POST_MODRDN_FN
“Processing an LDAP delete
operation”.
Specifies the function called after the
Directory Server executes an LDAP delete
operation.
SLAPI_PLUGIN_POST_DELETE_FN
“Processing an LDAP abandon
operation”.
Specifies the function called after the
Directory Server executes an LDAP
abandon operation.
SLAPI_PLUGIN_POST_ABANDON_FN
Specifies the function called after the
Directory Server sends an entry to the
client (for example, when you call
“slapi_send_ldap_search_entry()”, the
postoperation entry function is called after
the entry is sent to the client).
SLAPI_PLUGIN_POST_ENTRY_FN
Specifies the function called after the
Directory Server sends a referral to the
client (for example, when you call
“slapi_send_ldap_referral()”, the
postoperation referral function is called
after the referral is sent to the client).
SLAPI_PLUGIN_POST_REFERRAL_FN
Specifies the function called after the
Directory Server sends a result code to the
client (for example, when you call
“slapi_send_ldap_result()”, the
postoperation result function is called after
the result code is sent to the client).
SLAPI_PLUGIN_POST_RESULT_FN
6.3 Registering pre- and postoperation functions
To register your preoperation and postoperation plug-in functions, you need to write an
initialization function, then configure the server to load your plug-in. For details, follow the
procedures outlined in “Writing plug-in initialization functions”, and Chapter 3 “Configuring
plug-ins”.
60 Writing pre- and postoperation plug-ins