Netscape DIRECTORY SERVER 6.2 - PLUG-IN Manual page 512

Table of Contents

Advertisement

Functions for Handling Values
strVal
Returns
This function returns one of the following:
0
-1
Description
This function sets the value of the
strVal
Memory Concerns
If the pointer to the
-1. If the
new one is set.
When you are no longer using the
memory by calling
See Also
slapi_value_free()
slapi_value_set_string_passin()
Sets the value of a
Syntax
#include "slapi-plugin.h"
int slapi_value_set_string_passin ( Slapi_Value *value, char
*strVal);
Parameters
This function takes the following parameters:
value
strVal
512
Netscape Directory Server Plug-In Programmer's Guide • December 2003
The string containing the value to set.
if value is set.
if the pointer to the
.
Slapi_Value
already contains a value, it is freed from memory before the
Slapi_Value
slapi_value_free()
Slapi_Value
Pointer to the Slapi_Value structure into which the value will
be set.
The string containing the value to set.
is
Slapi_Value
NULL
Slapi_Value
is
, nothing is done and the function returns
NULL
Slapi_Value
.
structure from a string.
.
structure by duplicating the string
structure, you should free it from

Advertisement

Table of Contents
loading

This manual is also suitable for:

Directory server 6.2

Table of Contents