Slapi_Value_Set_Berval() - Netscape DIRECTORY SERVER 7.0 - PLUG-IN Manual

For plug-in
Table of Contents

Advertisement

Functions for Handling Values
When you are no longer using the
memory by calling
See Also
slapi_value_free()

slapi_value_set_berval()

Copies the value from a
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
from the
Memory Concerns
If the pointer to the
function returns
from memory before the new one is set.
When you are no longer using the
memory by calling
520
Netscape Directory Server Plug-in Programmer's Guide • October 2004
slapi_value_free()
berval
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
structure
berval
bval
Slapi_Value
. If the
NULL
Slapi_Value
slapi_value_free()
structure, you should free it from
Slapi_Value
.
structure into a
Slapi_Value
structure passed as the parameter.
structure. The value is duplicated
Slapi_Value
.
structure is
, nothing is done, and the
NULL
already contains a value, it is freed
structure, you should free it from
Slapi_Value
.
structure.

Advertisement

Table of Contents
loading

This manual is also suitable for:

Netscape directory server 7.0

Table of Contents