Netscape DIRECTORY SERVER 6.1 - PLUG-IN Manual page 510

Table of Contents

Advertisement

Functions for Handling Values
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);
510
Netscape Directory Server Plug-In Programmer's Guide • August 2002
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.

Advertisement

Table of Contents
loading

This manual is also suitable for:

Directory server 6.1

Table of Contents