Functions For Managing Memory - Netscape DIRECTORY SERVER 6.1 - PLUG-IN Manual

Table of Contents

Advertisement

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
Returns
This function returns one of the following values:
0
-1
specified plug-in is not found).
Description
When adding or removing values from an index, the Directory Server calls the
function (defined in the specified syntax plug-in) responsible for returning an array
of keys matching the specified values.

Functions for Managing Memory

This section contains reference information on routines for managing memory,
such as allocating and freeing memory.
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).
if successful.
if an error occurs (for example, if the corresponding function for the
Functions for Managing Memory
Chapter 15
Function Reference
291

Advertisement

Table of Contents
loading

This manual is also suitable for:

Directory server 6.1

Table of Contents