Red Hat DIRECTORY SERVER 7.1 - PLUG-IN PROGRAMMERS Manual page 239

Table of Contents

Advertisement

Syntax
#include "slapi-plugin.h"
int slapi_search_internal_callback_pb(Slapi_PBlock *pb,
void *callback_data,plugin_result_callback prc,
plugin_search_entry_callback psec,
plugin_referral_entry_callback prec);
Parameters
This function takes the following parameters:
pb
callback_data
prc
psec
prec
Returns
This function returns one of the following values:
if successful.
0
if an error occurs. If
-1
of the parameter block should be consulted to determine the precise LDAP
result code.
Description
Like
slapi_search_internal_pb()
directory from a plug-in function. Unlike a search operation requested by a client,
no result code, search entries, or referrals are sent to a client by
slapi_search_internal_callback_pb()
callback functions that are invoked when these events occur:
A parameter block that has been initialized using
slapi_seq_internal_callback_set_pb().
A pointer to arbitrary plug-in or operation-specific data that you
would like to pass to your callback functions.
Callback function that the server calls to send result codes. The
function must have the prototype specified by
plugin_result_callback.
Callback function that the server calls when finding a matching
entry in the directory. The function must have the prototype
specified by plugin_search_entry_callback.
Callback function that the server calls when finding an entry
that contains LDAPv3 referrals. The function must have the
prototype specified by plugin_referral_entry_callback.
is returned, the
-1
, this function allows you to search the
. However, you can write your own
Functions for Internal Operations and Plug-in Callback
SLAPI_PLUGIN_INTOP_RESULT
Chapter 15
Function Reference
field
237

Advertisement

Table of Contents
loading

This manual is also suitable for:

Directory server 7.1

Table of Contents