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

For plug-in
Table of Contents

Advertisement

Functions for Handling Values
Returns
This function returns a pointer to a newly allocated
space cannot be allocated (for example, if no virtual memory exists), the
program terminates.
Description
This function returns a
parameter. The string passed in must not be freed from memory.
Memory Concerns
The value should be freed by the caller, using
See Also
slapi_value_free()
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
cannot be allocated (for example, if no more virtual memory exists), the
program will terminate.
518
Netscape Directory Server Plug-in Programmer's Guide • October 2004
Slapi_Value
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 containing the string passed as the
slapi_value_free()
Slapi_Value
structure. If
slapd
.
. If space
slapd

Advertisement

Table of Contents
loading

This manual is also suitable for:

Netscape directory server 7.0

Table of Contents