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
vaulues
slapi_entry_attr_delete()
Chapter 15
Functions for Managing Entries
function.
can be
.
NULL
can be
, and if
NULL
.
Function Reference
325
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