Netscape DIRECTORY SERVER 6.2 - PLUG-IN Manual page 506

Table of Contents

Advertisement

Functions for Handling Values
Description
This function returns a
the
berval
Memory Concerns
When you are no longer using the value, you should free it from memory by
calling
See Also
slapi_value_new()
slapi_value_dup()
slapi_value_free()
slapi_value_new_string()
slapi_value_new_string()
Allocates a new
Syntax
#include "slapi-plugin.h"
slapi_value_new_string(const char *s);
Parameters
This function takes the following parameter:
s
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 string passed as the parameter.
506
Netscape Directory Server Plug-In Programmer's Guide • December 2003
Slapi_Value
structure passed as the parameter.
slapi_value_free()
Slapi_Value
Null-terminated string used to initialize the newly allocated
Slapi_Value.
Slapi_Value
structure containing a value duplicated from
.
structure and initializes it from a string.
structure containing a value duplicated from
. If space cannot
Slapi_Value
program
slapd

Advertisement

Table of Contents
loading

This manual is also suitable for:

Directory server 6.2

Table of Contents