Specifies a callback triggered before the server sends an entry returned by a search to the client.
#include "slapi-plugin.h" typedef int (*send_ldap_search_entry_fn_ptr_t)( Slapi_PBlock *pb, Slapi_Entry *e, LDAPControl **ectrls, char **attrs, int attrsonly );
The callback takes the following parameters.
Table 15–13 send_ldap_search_entry_fn_ptr_t Parameters
This callback lets you modify what is returned to the client. Register the callback with the server using slapi_search_internal_callback_pb() .
The callback should return 0 if successful, -1 otherwise.