Netscape DIRECTORY SERVER 6.02 - PLUG-IN Manual page 164

Table of Contents

Advertisement

Summary of Data Types and Structures
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
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.
plugin_search_entry_callback()
This typedef is used for LDAP search entry callback function, 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
164
Netscape Directory Server Plug-In Programmer's Guide • May 2002
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
The entry that was found by the internal search operation.
parameter of
prc
, or as the
res_callback
parameter of

Advertisement

Table of Contents
loading

This manual is also suitable for:

Directory server 6.02

Table of Contents