Netscape DIRECTORY SERVER 6.1 - PLUG-IN Manual page 508

Table of Contents

Advertisement

Functions for Handling Values
slapi_value_dup()
slapi_value_new()
slapi_value_new_value()
Allocates a new
Slapi_Value
Syntax
#include "slapi-plugin.h"
slapi_value_new_value(const Slapi_Value *v);
Parameters
This function takes the following parameter:
v
Returns
This function returns a pointer to the newly allocated
be allocated (for example, if no more virtual memory exists), the
will terminate.
Description
This function returns a
the
Slapi_Value
slapi_value_dup()
Memory Concerns
When you are no longer using the value, you should free it from memory by
calling the
See Also
slapi_value_dup()
slapi_value_free()
508
Netscape Directory Server Plug-In Programmer's Guide • August 2002
structure and initializes it from another
Slapi_Value
structure.
Pointer to the Slapi_Value structure used to initialize the
newly allocated Slapi_Value.
Slapi_Value
structure passed as the parameter. This function is identical to
.
slapi_value_free()
Slapi_Value
structure containing a value duplicated from
function/
. If space cannot
program
slapd

Advertisement

Table of Contents
loading

This manual is also suitable for:

Directory server 6.1

Table of Contents