Netscape DIRECTORY SERVER 6.1 - PLUG-IN Manual page 324

Table of Contents

Advertisement

Functions for Managing Entries
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
Returns
This function returns
324
Netscape Directory Server Plug-In Programmer's Guide • August 2002
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.
when successful; any other value returned signals failure.
0
slapi_entry_attr_merge()
.
can be
vals
vals
data value you specify.
Slapi_Value
function. This
berval
.
NULL

Advertisement

Table of Contents
loading

This manual is also suitable for:

Directory server 6.1

Table of Contents