Add a Slapi_ValueSet data value to the specified attribute in an entry.
#include "slapi-plugin.h" int slapi_entry_add_valueset(Slapi_Entry *e, const char *type, Slapi_ValueSet *vs);
This function takes the following parameters:
Entry to which you want to add values.
Attribute type to which you want to add values.
Slapi_ValueSet data value that you want to add to the entry.
Returns 0 when successful; any other value returned signals failure.
This function adds a set of values to an attribute in an entry. The values added are in the form of a Slapi_ValueSet data type. If the entry does not contain the attribute specified, it is created with the specified Slapi_ValueSet value.
This routine makes a copy of the parameter vs. vs can be NULL.