19.22. slapi_attr_value_find()
Determines if an attribute contains a given value.
#include "slapi-plugin.h" int slapi_attr_value_find( const Slapi_Attr *a, const struct berval *v );
This function takes the following parameters:
| a | Attribute that you want to check. |
| v | Pointer to the berval structure containing the value for which you want to search. |
This function returns one of the following values:
- 0 if the attribute contains the specified value.
- -1 if the attribute does not contain the specified value.

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.