Netscape DIRECTORY SERVER 6.2 - PLUG-IN Manual page 181

Table of Contents

Advertisement

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.
Syntax
#include "slapi-plugin.h"
typedef void (*plugin_result_callback)(int rc,
void *callback_data);
Parameters
The function takes the following parameters:
rc
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 result callback function should be called once for each search operation,
unless the search is abandoned, in which case it will not be called.
The
callback_data
operation-specific information to a result callback function.
parameter can be used to pass arbitrary plug-in or
The LDAP result code of the internal operation, for example,
LDAP_SUCCESS.
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
parameter of
prc
, or as the
res_callback
Chapter 14
Data Type and Structure Reference
parameter of
181

Advertisement

Table of Contents
loading

This manual is also suitable for:

Directory server 6.2

Table of Contents