24.19. slapi_entry_attr_has_syntax_value()
This function replaces the deprecated slapi_entry_attr_hasvalue() function and takes into consideration the syntax of the attribute type. It determines if an attribute in an entry contains a specified value.
#include "slapi-plugin.h" int slapi_entry_attr_has_syntax_value(const Slapi_Entry *e, const char *type, const Slapi_Value *value);
|
e
| Entry that you want to check. |
|
type
| Attribute type that you want to test for the value specified. |
|
value
| Value that you want to find in the attribute. |
This function 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.

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.