Netscape DIRECTORY SERVER 6.02 - PLUG-IN Manual page 458

Table of Contents

Advertisement

Functions for Handling Values
Parameters
This function does not take any parameters.
Returns
This function returns a pointer to the newly allocated
space cannot be allocated (for example, if no more virtual memory exists), the
slapd
Description
This function returns an empty
functions of the API to set the value.
Memory Concerns
When you are no longer using the value, free it from memory by calling
slapi_value_free()
See Also
slapi_value_dup())
slapi_value_free()
slapi_value_new_berval()
slapi_value_new_berval()
Allocates a new
Syntax
#include "slapi-plugin.h"
slapi_value_new_berval(const struct berval *bval);
Parameters
This function takes the following parameter:
bval
Returns
This function returns a pointer to the newly allocated
be allocated (for example, if no more virtual memory exists), the
will terminate.
458
Netscape Directory Server Plug-In Programmer's Guide • May 2002
program terminates.
.
Slapi_Value
Pointer to the berval structure used to initialize the newly
allocated Slapi_Value.
structure. You can call other
Slapi_Value
structure and initializes it from a
structure. If
Slapi_Value
structure.
berval
. If space cannot
Slapi_Value
program
slapd

Advertisement

Table of Contents
loading

This manual is also suitable for:

Directory server 6.02

Table of Contents