Functions for Managing Entries
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
Syntax
#include "slapi-plugin.h"
int slapi_entry_attr_replace_sv( Slapi_Entry *e,
const char *type, Slapi_Value **vals );
Parameters
This function takes the following parameters:
e
type
vals
334
Netscape Directory Server Plug-in Programmer's Guide • October 2004
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
Entry in which you want to replace values.
Attribute type which will receive the replaced values.
Array containing the Slapi_Value values that should replace
the existing values of the attribute.
slapi_entry_attr_merge()
.
can be
vals
vals
data value you specify.
Slapi_Value
function. This
berval
.
NULL
Need help?
Do you have a question about the NETSCAPE DIRECTORY SERVER 7.0 - PLUG-IN and is the answer not in the manual?
Questions and answers