Netscape DIRECTORY SERVER 6.1 - PLUG-IN Manual page 507

Table of Contents

Advertisement

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()
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()
Functions for Handling Values
structure. If
Slapi_Value
slapd
.
Chapter 15
Function Reference
507

Advertisement

Table of Contents
loading

This manual is also suitable for:

Directory server 6.1

Table of Contents