Netscape DIRECTORY SERVER 6.02 - PLUG-IN Manual page 460

Table of Contents

Advertisement

Functions for Handling Values
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_new_berval()
slapi_value_free()
slapi_value_dup()
slapi_value_new_string_passin()
Allocates a new
Syntax
#include "slapi-plugin.h"
Slapi_Value * slapi_value_new_string_passin ( char *s );
Parameters
This function takes the following parameter:
s
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()
460
Netscape Directory Server Plug-In Programmer's Guide • May 2002
slapi_value_free()
Slapi_Value
Null terminated string used to initialize the newly allocated
Slapi_Value structure.
Slapi_Value
.
structure and initializes it from a string.
structure containing the string passed as the
slapi_value_free()
structure. If
Slapi_Value
slapd
.

Advertisement

Table of Contents
loading

This manual is also suitable for:

Directory server 6.02

Table of Contents