24.40. slapi_entry_merge_values_sv()
This function adds additional Slapi_Value data values to the existing values contained in an attribute. If the attribute type does not exist, it is created.
LDAP_SUCCESS. If the attribute is not found in the entry, the function creates it with the Slapi_Value specified and returns LDAP_NO_SUCH_ATTRIBUTE.
rc = delete_values_sv_internal( e, type, vals, 1 /* Ignore Errors */ );
#include "slapi-plugin.h" int slapi_entry_merge_values_sv( Slapi_Entry *e, const char *type, Slapi_Value **vals );
This function takes the following parameters:
|
e
| Entry into which you want to merge values. |
|
type
| Attribute type that contains the values you want to merge. |
|
vals
| Values that you want to merge into the entry. Values are of type Slapi_Value. |
This function returns one of the following values:
LDAP_SUCCESS.LDAP_NO_SUCH_ATTRIBUTE.
This function makes a copy of vals. vals 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.