Netscape DIRECTORY SERVER 6.02 - PLUG-IN Manual page 165

Table of Contents

Advertisement

callback_data
Returns
This search entry callback function should return a 0 to continue the search, or -1 to
end the search.
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()
Syntax
#include "slapi-plugin.h"
typedef int (*send_ldap_referral_fn_ptr_t)( Slapi_PBlock *pb,
Slapi_Entry *e, struct berval **refs, struct berval ***urls);
Parameters
The function has the following parameters:
pb
e
refs
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 block.
Pointer to the Slapi_Entry structure representing the entry that you
are working with.
Pointer to the NULL-terminated array of berval structures containing
the LDAP v3 referrals (search result references) found in the entry.
Summary of Data Types and Structures
psec
, or as the
srch_callback
.
Chapter 13
Data Type and Structure Reference
parameter of
parameter of
165

Advertisement

Table of Contents
loading

This manual is also suitable for:

Directory server 6.02

Table of Contents