Netscape DIRECTORY SERVER 6.02 - PLUG-IN Manual page 163

Table of Contents

Advertisement

plugin_referral_entry_callback()
This typedef is used for LDAP referral entry callback functions, which are
plugin-defined functions that process LDAP references that may be generated by
some internal searches.
Syntax
#include "slapi-plugin.h"
typedef int (*plugin_referral_entry_callback)
(char *referral, void *callback_data);
Parameters
The function takes the following parameters:
referral
callback_data
Returns
This callback function returns an integer value that should always be 0 (currently,
the return value is ignored).
Description
A function that matches this typedef can be passed as the
slapi_search_internal_callback_pb()
the
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.
plugin_result_callback()
This typedef is used for LDAP result callback functions, which are plugin-defined
functions that process result messages that are generated by some internal search
functions.
The URL of a reference that is returned in response to an internal
search call.
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
Summary of Data Types and Structures
prec
, or as the
ref_callback
function.
Chapter 13
Data Type and Structure Reference
parameter of
parameter of
163

Advertisement

Table of Contents
loading

This manual is also suitable for:

Directory server 6.02

Table of Contents