Netscape DIRECTORY SERVER 6.02 - PLUG-IN Manual page 247

Table of Contents

Advertisement

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
ivals
ftype
Returns
This function returns one of the following values:
0
-1
specified plug-in is not found.
Description
When processing a search that uses an attribute-value assertion (AVA) filter (for
example,
value specified in the search filter against the value of the specified attribute in
each entry.
.
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).
Pointer to the Slapi_Value arrays 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)
if successful.
if an error occurs; for example, if the corresponding function for the
or
ou=Accounting
), the back-end needs to compare the
ou=~Accounting
Functions for Syntax Plug-In
LDAP_FILTER_EQUALITY
Chapter 14
Function Reference
247

Advertisement

Table of Contents
loading

This manual is also suitable for:

Directory server 6.02

Table of Contents