Netscape DIRECTORY SERVER 6.1 - PLUG-IN Manual page 513

Table of Contents

Advertisement

Returns
This function returns one of the following values:
0
-1
Description
This function sets the value of
Slapi_Value
new one is set. The string
Memory Concerns
Use
slapi_value_free()
free it from memory.
slapi_value_set_value()
Copies the value of a
Syntax
#include "slapi-plugin.h"
slapi_value_set_value( Slapi_Value *value,
const Slapi_Value *vfrom);
Parameters
This function takes the following parameters:
value
vfrom
Returns
This function returns one of the following values:
The pointer to the
NULL
Description
This function sets the value of the
from the
if the value is set.
if the pointer to the
structure already contains a value, it is freed from memory before the
strVal
Slapi_Value
Pointer to the Slapi_Value in which to set the value.
Pointer to the Slapi_Value from which to get the value.
Slapi_Value
if it was
.
NULL
structure
Slapi_Value
structure is
Slapi_Value
structure with the string
Slapi_Value
must not be freed from memory.
when you are finished working with the structure to
structure into a
structure passed as the parameter.
Slapi_Value
.
must not be
vfrom
vfrom
Functions for Handling Values
.
NULL
strVal
structure.
Slapi_Value
structure. This value is duplicated
.
NULL
Chapter 15
Function Reference
. If the
513

Advertisement

Table of Contents
loading

This manual is also suitable for:

Directory server 6.1

Table of Contents