Slapi_Attr_Value_Find() - Netscape DIRECTORY SERVER 7.0 - PLUG-IN Manual

For plug-in
Table of Contents

Advertisement

Functions for Handling Attributes
Syntax
#include "slapi-plugin.h"
int slapi_attr_value_cmp( const Slapi_Attr *attr, const struct
berval *v1,
const struct berval *v2 );
Parameters
This function takes the following parameters:
attr
v1
v2
Returns
This function returns one of the following values:
0
-1
See Also
slapi_attr_add_value()
slapi_attr_first_value()
slapi_attr_next_value()
slapi_attr_get_numvalues()

slapi_attr_value_find()

slapi_attr_value_find()
Determines is an attribute contains a given value.
Syntax
#include "slapi-plugin.h"
int slapi_attr_value_find( const Slapi_Attr *a, const struct berval
*v );
270
Netscape Directory Server Plug-in Programmer's Guide • October 2004
Attribute used to determine how these values are compared; for
example, if the attribute contains case-insensitive strings, the strings are
compared without regard to case.
Pointer to the berval structure containing the first value that you want
to compare.
Pointer to the berval structure containing the second value that you
want to compare.
if the values are equal.
if the values are not equal.

Advertisement

Table of Contents
loading

This manual is also suitable for:

Netscape directory server 7.0

Table of Contents