Summary of Data Types and Structures
plugin_search_entry_callback
This typedef is used for LDAP search entry callback functions, which are plug-in
defined functions that process LDAP entries that are located by an internal
search.
Syntax
#include "slapi-plugin.h"
typedef int (*plugin_search_entry_callback)(Slapi_Entry *e,
void *callback_data);
Parameters
The function has the following parameters:
e
callback_data
Returns
if successful or
0
Description
A function that matches this typedef can be passed as the
slapi_search_internal_callback_pb()
slapi_seq_internal_callback_pb()
The LDAP referral entry callback function will be called once for each referral
entry found by a
number of times.
The
callback_data
operation-specific information to a referral entry callback function.
send_ldap_referral_fn_ptr_t
send_ldap_referral_fn_ptr_t
that you can write to send LDAPv3 referrals (search result references) back to the
client. You can register your function so that it is called whenever the
slapi_send_ldap_result()
192
Netscape Directory Server Plug-in Programmer's Guide • October 2004
Pointer to the Slapi_Entry structure representing an entry
found by the search.
This value matches the callback_data pointer that was
passed to the original internal operation function.
if an error occurred.
-1
operation, which means it could be called zero or any
search
parameter can be used to pass arbitrary plug-in or
specifies the prototype for a callback function
function is called.
psec
or as the
srch_callback
.
parameter of
parameter of
Need help?
Do you have a question about the NETSCAPE DIRECTORY SERVER 7.0 - PLUG-IN and is the answer not in the manual?
Questions and answers