Netscape DIRECTORY SERVER 6.1 - PLUG-IN Manual page 325

Table of Contents

Advertisement

Description
This function replaces existing attribute values in a specified entry with a single
Slapi_Value
entry, then replaces it with the new value specified.
This function replaces the deprecated
This function uses
berval
Memory Concerns
This function makes a copy of the parameter
See Also
slapi_entry_attr_replace()
slapi_entry_attr_set_charptr()
Replaces the value or values of an attribute in an entry with a specified string
value.
Syntax
#include "slapi-plugin.h"
void slapi_entry_attr_set_charptr(Slapi_Entry* e,
char *type, char *value);
Parameters
This function takes the following parameters:
e
type
value
Memory Concerns
This function makes a copy of the parameter
so, this function is roughly equivalent to
See Also
slapi_entry_attr_delete()
data value. The function first deletes the existing attribute from the
Slapi_Value
attribute values.
Entry in which you want to set the value.
Attribute type in which you want to set the value.
String value that you want to assign to the attribute.
slapi_entry_attr_replace()
attribute values instead of the now obsolete
.
vals
vals
.
values
slapi_entry_attr_delete()
Chapter 15
Functions for Managing Entries
function.
can be
.
NULL
can be
vaulues
NULL
.
Function Reference
, and if
325

Advertisement

Table of Contents
loading

This manual is also suitable for:

Directory server 6.1

Table of Contents