Netscape DIRECTORY SERVER 6.02 - PLUG-IN Manual page 272

Table of Contents

Advertisement

Functions for Managing Entries
Parameters
This function takes the following parameters:
e
type
value
Returns
This function returns
Description
This function adds a
entry. If the specified attribute does not exist in the entry, the attribute is created
with the
that is, it does not check if the value being added is already there.)
Memory Concerns
This routine makes a copy of the parameter
slapi_entry_add_values_sv()
Adds and array of
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
272
Netscape Directory Server Plug-In Programmer's Guide • May 2002
Entry to which you want to add a value.
Attribute to which you want to add a value.
The Slapi_value data value you want to add to the entry.
when successful; any other value returned signals failure.
0
Slapi_Value
specified. (The function doesn't check for duplicate values,
Slapi_Value
Slapi_Value
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.
data value to the existing attribute values in an
.
value
value
data values to the specified attribute in an entry.
can be
.
NULL

Advertisement

Table of Contents
loading

This manual is also suitable for:

Directory server 6.02

Table of Contents