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 • January 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
Need help?
Do you have a question about the NETSCAPE DIRECTORY SERVER 6.01 - PLUG-IN and is the answer not in the manual?
Questions and answers