Netscape DIRECTORY SERVER 6.1 - PLUG-IN Manual page 290

Table of Contents

Advertisement

Functions for Syntax Plug-In
Parameters
This function takes the following parameters:
vpi
initial
any
final
ivals
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
290
Netscape Directory Server Plug-In Programmer's Guide • August 2002
Handle to plug-in for this attribute type
"Starts with" value from the search filter (for example, if the
filter is ou=Sales*, the argument initial is Sales)
Array of "contains" values from the search filter (for example, if
the filter is ou=*Corporate*Sales*, the argument any is an
array containing Corporate and Sales)
"Ends with" value from the search filter (for example, if the filter
is ou=*Sales, the argument final is Sales)
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).
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
LDAP_FILTER_SUBSTRINGS
function.)
,
, and
) against the actual values of the
any
final
argument) to the backend.
.
argument. (This is the
vpi

Advertisement

Table of Contents
loading

This manual is also suitable for:

Directory server 6.1

Table of Contents