HP-UX Directory Server 8.1 plug-in reference

Table Of Contents
Table 6-1 Functions called before the Directory Server executes an operation (continued)
Further informationDescriptionID in parameter nlock
“Processing an LDAP search
operation”.
Specifies the function called before the
Directory Server executes an LDAP search
operation.
SLAPI_PLUGIN_PRE_SEARCH_FN
“Processing an LDAP compare
operation”.
Specifies the function called before the
Directory Server executes an LDAP
compare operation.
SLAPI_PLUGIN_PRE_COMPARE_FN
“Processing an LDAP add operation”.Specifies the function called before the
Directory Server executes an LDAP add
operation.
SLAPI_PLUGIN_PRE_ADD_FN
“Processing an LDAP modify
operation”.
Specifies the function called before the
Directory Server executes an LDAP
modify operation.
SLAPI_PLUGIN_PRE_MODIFY_FN
“Processing an LDAP modify RDN
operation”.
Specifies the function called before the
Directory Server executes an LDAP
modifyRDN operation.
SLAPI_PLUGIN_PRE_MODRDN_FN
“Processing an LDAP delete
operation”.
Specifies the function called before the
Directory Server executes an LDAP delete
operation.
SLAPI_PLUGIN_PRE_DELETE_FN
“Processing an LDAP abandon
operation”.
Specifies the function called before the
Directory Server executes an LDAP
abandon operation.
SLAPI_PLUGIN_PRE_ABANDON_FN
Specifies the function called before the
Directory Server sends an entry to the
client (for example, when you call
“slapi_send_ldap_search_entry()”, the
preoperation entry function is called
before the entry is sent to the client).
SLAPI_PLUGIN_PRE_ENTRY_FN
Specifies the function called before the
Directory Server sends a referral to the
client (for example, when you call
“slapi_send_ldap_referral()”, the
preoperation referral function is called
before the referral is sent to the client).
SLAPI_PLUGIN_PRE_REFERRAL_FN
Specifies the function called before the
Directory Server sends a result code to the
client (for example, when you call
“slapi_send_ldap_result()”, the
preoperation result function is called
before the result code is sent to the client).
SLAPI_PLUGIN_PRE_RESULT_FN
6.2.2 Types of postoperation functions
The following table lists the Directory Server postoperation functions and their purpose.
Table 6-2 Functions called after the Directory Server executes an operation
Further informationDescriptionID in parameter block
“Processing an LDAP bind
operation”.
Specifies the function called after the
Directory Server executes an LDAP bind
operation.
SLAPI_PLUGIN_POST_BIND_FN
“Processing an LDAP unbind
operation”.
Specifies the function called after the
Directory Server executes an LDAP
unbind operation.
SLAPI_PLUGIN_POST_UNBIND_FN
6.2 Types of preoperation and postoperation functions 59