This function is deprecated. It determines if an attribute in an entry contains a specified value by comparing the specified value as a string with the existing values, and does not compare using the equality matching rule.
#include "slapi-plugin.h" int slapi_entry_attr_hasvalue(Slapi_Entry *e, const char *type, const char *value);
This function takes the following parameters:
Entry that you want to check.
Attribute type that you want to test for the value specified.
Value that you want to find in the attribute.
Returns one of the following values:
1 if the attribute contains the specified value.
0 if the attribute does not contain the specified value.
value must not be NULL.