Netscape DIRECTORY SERVER 6.2 - PLUG-IN Manual page 509

Table of Contents

Advertisement

slapi_value_set()
Sets the value in a
Syntax
#include "slapi-plugin.h"
slapi_value_set( Slapi_Value *value, void *val, unsigned long len);
Parameters
This function takes the following parameters:
value
val
len
Returns
This function returns a pointer to the
Description
This function sets the value in the
of the data pointed to by
Memory Concerns
If the pointer to the
function returns
freed from memory before the new one is set.
When you are no longer using the
memory by calling
See Also
slapi_value_free()
slapi_value_set_berval()
Copies the value from a
structure.
Slapi_Value
Pointer to the Slapi_Value in which to set the value.
Pointer to the value.
Length of the value.
Slapi_Value
Slapi_Value
and of length
val
structure is
Slapi_Value
. If the
NULL
Slapi_Value
Slapi_Value
slapi_value_free()
structure into a
berval
Functions for Handling Values
with the value set.
structure. The value is a duplicate
.
len
, then nothing is done and the
NULL
structure already contains a value, it is
structure, you should free it from
.
structure.
Slapi_Value
Chapter 15
Function Reference
509

Advertisement

Table of Contents
loading

This manual is also suitable for:

Directory server 6.2

Table of Contents