22.3. slapi_call_syntax_values2keys_sv()
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.
#include "slapi-plugin.h" int slapi_call_syntax_values2keys_sv( void *vpi, Slapi_Value **vals, Slapi_Value ***ivals, int ftype );
This function takes the following parameters:
|
vpi
| Handle to plug-in for this attribute type. |
|
vals
| Pointer to the Slapi_Value structure containing the value to add or delete. |
|
ivals
| Pointer to an array of Slapi_Value structures containing the values returned by the plug-in function; these values can be compared against entries in the directory. |
|
ftype
| Type of filter; for example, LDAP_FILTER_EQUALITY. |
This function returns one of the following values:
- 0 if successful.
- -1 if an error occurs; for example, if the corresponding function for the specified plug-in is not found.

Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.