Netscape DIRECTORY SERVER 6.02 - PLUG-IN Manual page 295

Table of Contents

Advertisement

See Also
slapi_entry_free()
slapi_entry_alloc()
slapi_ch_strdup()
slapi_entry_merge_values_sv()
Merges (adds) and array of
entry. If the entry does not contain the attribute specified, the attribute is created
with the value supplied.
Syntax
#include "slapi-plugin.h"
int slapi_entry_merge_values_sv( Slapi_Entry *e,
const char *type, Slapi_Value **vals );
Parameters
This function takes the following parameters:
e
type
vals
Returns
This function returns one of the following values:
LDAP_SUCCESS
LDAP_NO_SUCH_ATTRIBUTE
Description
This function adds additional
contained in an attribute. If the attribute type does not exist, it is created.
If the specified attribute exists in the entry, the function merges the value specified
and returns
creates it with the
Slapi_Value
Entry into which you want to merge values.
Attribute type that contains the values you want to merge.
Values that you want to merge into the entry. Values are of type
Slapi_Value.
.
.
Slapi_Value
. If the attribute is not found in the entry, the function
LDAP_SUCCESS
specified and returns
Slapi_Value
Functions for Managing Entries
data values to a specified attribute in an
data values to the existing values
LDAP_NO_SUCH_ATTRIBUTE
Chapter 14
.
Function Reference
295

Advertisement

Table of Contents
loading

This manual is also suitable for:

Directory server 6.02

Table of Contents