Netscape DIRECTORY SERVER 6.01 - PLUG-IN Manual page 458

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.
458
Netscape Directory Server Plug-In Programmer's Guide • January 2002
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
Need help?

Need help?

Do you have a question about the NETSCAPE DIRECTORY SERVER 6.01 - PLUG-IN and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

This manual is also suitable for:

Directory server 6.01

Table of Contents