Functions For Syntax Plug-In - Netscape DIRECTORY SERVER 6.1 - PLUG-IN Manual

Table of Contents

Advertisement

Functions for Syntax Plug-In

slapi_control_present()
Functions for Syntax Plug-In
This section contains reference information on routines for syntax plug-ins.
Table 15-8
Syntax Plug-In Routines
Function
slapi_call_syntax_assertion2keys_ava_sv()
slapi_call_syntax_assertion2keys_sub_sv()
slapi_call_syntax_values2keys_sv()
slapi_call_syntax_assertion2keys_ava_sv()
When processing a search, calls the function (defined in the specified syntax
plug-in) responsible for returning an array of values (specified by the search filter)
to compare against the entries in the directory.
This function applies to searches that use the filter types
and
LDAP_FILTER_APPROX
Syntax
#include "slapi-plugin.h"
int slapi_call_syntax_assertion2keys_ava_sv( void *vpi,
Slapi_Value *val, Slapi_Value ***ivals, int ftype );
Parameters
This function takes the following parameters:
vpi
val
288
Netscape Directory Server Plug-In Programmer's Guide • August 2002
Description
Calls a function, specified in the syntax plug-in, to compare
against directory entries.
Calls a function, specified in the syntax plug-in, to compare
against directory entries.
Manages index values when adding or removing values from
an index.
.
Handle to plug-in for this attribute type
Pointer to the Slapi_Value arrays containing the value from
the search filter (for example, if the filter is ou=Accounting, the
argument val is Accounting).
LDAP_FILTER_EQUALITY

Advertisement

Table of Contents
loading

This manual is also suitable for:

Directory server 6.1

Table of Contents