Adds a specified Slapi_Value data value to an attribute in an entry.
#include "slapi-plugin.h" int slapi_entry_add_value (Slapi_Entry *e, const char *type, const Slapi_Value *value);
This function takes the following parameters:
Entry to which you want to add a value.
Attribute to which you want to add a value.
The Slapi_Value data value you want to add to the entry.
Returns 0 when successful; any other value returned signals failure.
This function adds a Slapi_Value data value to the existing attribute values in an entry. If the specified attribute does not exist in the entry, the attribute is created with the Slapi_Value specified.
This routine makes a copy of the parameter value. If value is NULL, the entry is not changed.