Sun Java System Directory Server Enterprise Edition 6.3 Developer's Guide

slapi_attr_value_find()

Determines if an attribute contains a given value, using the equality matching rule.

Syntax

#include "slapi-plugin.h"
int slapi_attr_value_find( Slapi_Attr *a, struct berval *v );

Parameters

This function takes the following parameters:

a

Attribute that you wish to check.

v

Pointer to the berval structure containing the value for which you wish to search.

Returns

This function returns one of the following values:

See Also

slapi_attr_add_value()

slapi_attr_first_value_const()

slapi_attr_next_value_const()

slapi_attr_get_numvalues()

slapi_attr_value_cmp()