Netscape DIRECTORY SERVER 6.02 - PLUG-IN Manual page 463

Table of Contents

Advertisement

Syntax
#include "slapi-plugin.h"
slapi_value_set_berval( Slapi_Value *value,
const struct berval *bval );
Parameters
This function takes the following parameters:
value
bval
Returns
This function returns one of the following values:
The pointer to the
NULL
Description
This function sets the value of
the
berval
Memory Concerns
If the pointer to the
function returns
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_int()
Sets the integer value of a
Syntax
#include "slapi-plugin.h"
slapi_value_set_int(Slapi_Value *value, int intVal);
Pointer to the Slapi_Value structure in which to set the value.
Pointer to the berval value to be copied.
Slapi_Value
if it was
.
NULL
Slapi_Value
structure
.
bval
Slapi_Value
. If the
NULL
Slapi_Value
slapi_value_free()
Slapi_Value
structure passed as the parameter.
structure. The value is duplicated from
structure is
, nothing is done and the
NULL
already contains a value, it is freed from
structure, you should free it from
Slapi_Value
.
structure.
Chapter 14
Functions for Handling Values
Function Reference
463

Advertisement

Table of Contents
loading

This manual is also suitable for:

Directory server 6.02

Table of Contents