Netscape DIRECTORY SERVER 6.02 - PLUG-IN Manual page 281

Table of Contents

Advertisement

Description
This function replaces the deprecated
and takes into consideration the syntax of the attribute type.
slapi_entry_attr_merge_sv()
Adds an array of
entry. If the attribute does not exist, it is created with the
Syntax
#include "slapi-plugin.h"
int slapi_entry_attr_merge_sv( Slapi_Entry *e,
const char *type, Slapi_Value **vals );
Parameters
This function takes the following parameters:
e
type
vals
Returns
This function returns
Description
This function replaces the deprecated
function uses
attribute values.
Memory Concerns
This function makes a copy of the parameter
See Also
slapi_entry_attr_merge()
slapi_entry_attr_replace_sv()
Replaces the values of an attribute with the
data values to the existing attribute values in an
Slapi_Value
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.
if successful; any other value returned signals failure.
0
attribute values instead of the now obsolete
Slapi_Value
slapi_entry_attr_hasvalue(
Slapi_Value
slapi_entry_attr_merge()
.
can be
vals
vals
data value you specify.
Slapi_Value
Chapter 14
Functions for Managing Entries
) function
specified.
function. This
berval
.
NULL
Function Reference
281

Advertisement

Table of Contents
loading

This manual is also suitable for:

Directory server 6.02

Table of Contents