Netscape DIRECTORY SERVER 6.01 - PLUG-IN Manual page 164

Hello, I am your AI assistant. How can I help you?
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 • January 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
Need help?

Need help?

Do you have a question about the NETSCAPE DIRECTORY SERVER 6.01 - PLUG-IN and is the answer not in the manual?

Questions and answers

This manual is also suitable for:

Directory server 6.01

Table of Contents