Netscape DIRECTORY SERVER 6.1 - PLUG-IN Manual page 315

Table of Contents

Advertisement

Syntax
#include "slapi-plugin.h"
int slapi_entry_add_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_TYPE_OR_VALUE_EXISTS
existing value in the attribute.
LDAP_OPERATIONS_ERROR
attribute.
Description
This function adds an array of
attribute does not exist, it is created and given the value contained in the
Slapi_Value
This function replaces the deprecated
function uses
attribute values.
Memory Concerns
This routine makes a copy of the parameter
See Also
slapi_entry_add_values()
slapi_entry_add_valueset()
Add a
Entry to which you want to add values.
Attribute type to which you want to add values.
Array of Slapi_Value data values that you want to add.
if the
Slapi_Value
array.
Slapi_Value
data value to the specified attribute in an entry.
Slapi_ValueSet
array is successfully added to the attribute.
if any values you are trying to add duplicate an
if there are pre-existing duplicate values in the
data values to an attribute. If the
Slapi_Value
slapi_entry_add_values()
attribute values instead of the now obsolete
vals
Functions for Managing Entries
function. This
.
can be
.
vals
NULL
Chapter 15
Function Reference
berval
315

Advertisement

Table of Contents
loading

This manual is also suitable for:

Directory server 6.1

Table of Contents