Functions for Managing Entries
Memory Concerns
This routine makes a copy of the parameter
slapi_entry_add_value()
Adds a specified
Syntax
#include "slapi-plugin.h"
int slapi_entry_add_value (Slapi_Entry *e, const char *type,
const Slapi_Value *value);
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
314
Netscape Directory Server Plug-In Programmer's Guide • December 2003
Slapi_Value
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
.
value
value
data value to an attribute in an entry.
data value to the existing attribute values in an
.
value
value
data values to the specified attribute in an entry.
can be
.
NULL
can be
.
NULL
Need help?
Do you have a question about the NETSCAPE DIRECTORY SERVER 6.2 - PLUG-IN and is the answer not in the manual?
Questions and answers