Netscape DIRECTORY SERVER 6.02 - PLUG-IN Manual page 249

Table of Contents

Advertisement

Returns
This function returns one of the following values:
0
-1
specified plug-in is not found.
Description
The
ldbm
processing searches in which the filter type is
The function invokes the syntax plug-in specified by the
plug-in associated with the type of attribute used in the search. You can get this
handle by calling the
The syntax plug-in function invoked by this function is responsible for comparing
the values (specified by
attributes in the directory entries. The syntax plug-in function returns a list of
matching entry keys (the
slapi_call_syntax_values2keys_sv()
When adding or removing values from an index, calls the function (defined in the
specified syntax plug-in) responsible for returning an array of keys matching the
specified values.
Syntax
#include "slapi-plugin.h"
int slapi_call_syntax_values2keys_sv( void *vpi, Slapi_Value **vals,
Slapi_Value ***ivals, int ftype );
Parameters
This function takes the following parameters:
vpi
vals
ivals
ftype
if successful.
if an error occurs; for example, if the corresponding function for the
backend (the default backend database) calls this function when
slapi_attr_type2plugin()
initial
ivals
Handle to plug-in for this attribute type.
Pointer to the Slapi_Value structure containing the value to
add or delete.
Pointer to an array of Slapi_Value structures containing the
values returned by the plug-in function (these values can now be
compared against entries in the directory).
Type of filter (for example, LDAP_FILTER_EQUALITY).
LDAP_FILTER_SUBSTRINGS
function.)
,
, and
) against the actual values of the
any
final
argument) to the backend.
Chapter 14
Functions for Syntax Plug-In
.
argument. (This is the
vpi
Function Reference
249

Advertisement

Table of Contents
loading

This manual is also suitable for:

Directory server 6.02

Table of Contents