Netscape DIRECTORY SERVER 6.1 - PLUG-IN Manual page 182

Table of Contents

Advertisement

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
0 if successful or -1 if an error occurred.
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 search operation, which means it could be called 0 or any 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 LDAP v3 referrals (search result references) back to the
client. You can register your function so that it is called whenever the
slapi_send_ldap_result()
182
Netscape Directory Server Plug-In Programmer's Guide • August 2002
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.
.
parameter can be used to pass arbitrary plug-in or
specifies the prototype for a callback function
function is called.
parameter of
psec
, or as the
srch_callback
parameter of

Advertisement

Table of Contents
loading

This manual is also suitable for:

Directory server 6.1

Table of Contents