24.7. slapi_entry_add_valueset()
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.
#include "slapi-plugin.h" int slapi_entry_add_valueset(Slapi_Entry *e, const char *type, Slapi_ValueSet *vs);
This function takes the following parameters:
|
e
| Entry to which you want to add values. |
|
type
| Attribute type to which you want to add values. |
|
vs
| Slapi_ValueSet data value that you want to add to the entry. |
This function returns 0 when successful; any other value returned signals failure.
This routine makes a copy of the parameter vs. vs can 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.