Netscape DIRECTORY SERVER 6.2 - PLUG-IN Manual page 180

Table of Contents

Advertisement

Summary of Data Types and Structures
You need to define the filter matching function, which is the function that has
prototype specified by
potential matching candidate entry. The server passes pointers to a filter structure
(that you create in your filter factory function — see "Writing a Filter Factory
Function"), the candidate entry, and the entry's attributes.
In your filter matching function, you can retrieve information about the filter (such
as the attribute type and value specified in the filter) from the filter structure. You
can then use this information to compare the value in the filter against the attribute
values in the candidate entry.
For more information on writing a filter matching function, see "Writing a Filter
Matching Function."
plugin_referral_entry_callback
This typedef is used for LDAP referral entry callback functions, which are
plugin-defined functions that process LDAP references 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
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()
the
slapi_seq_internal_callback_pb()
180
Netscape Directory Server Plug-In Programmer's Guide • December 2003
. The server calls this function for each
mrFilterMatchFn
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.
, or as the
function.
parameter of
prec
parameter of
ref_callback

Advertisement

Table of Contents
loading

This manual is also suitable for:

Directory server 6.2

Table of Contents