Adds an array of Slapi_Value data values to the existing attribute values in an entry. If the attribute does not exist, it is created with the Slapi_Value specified.
#include "slapi-plugin.h" int slapi_entry_attr_merge_sv( Slapi_Entry *e, const char *type, Slapi_Value **vals );
This function takes the following parameters:
Entry to which you want to add values.
Attribute to which you want to add values.
Array of Slapi_Value data values you want to add.
Returns 0 if successful; any other value returned signals failure.
This function replaces the deprecated slapi_entry_attr_merge() function. This function uses Slapi_Value attribute values instead of the berval attribute values.
This function makes a copy of the parameter vals. vals can be NULL.