Slapi_Value_Set_Value - Netscape DIRECTORY SERVER 7.0 - PLUG-IN Manual

For plug-in
Table of Contents

Advertisement

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
Returns
This function returns one of the following values:
0
-1
Description
This function sets the value of
Slapi_Value
new one is set. The string
Memory Concerns
Use
slapi_value_free()
free it from memory.

slapi_value_set_value()

Copies the value of a
Syntax
#include "slapi-plugin.h"
slapi_value_set_value( Slapi_Value *value,
const Slapi_Value *vfrom);
Parameters
This function takes the following parameters:
Pointer to the Slapi_Value structure into which the value will
be set.
The string containing the value to set.
if the value is set.
if the pointer to the
structure already contains a value, it is freed from memory before the
strVal
Slapi_Value
structure is
Slapi_Value
structure with the string
Slapi_Value
must not be freed from memory.
when you are finished working with the structure to
structure into a
Functions for Handling Values
.
NULL
strVal
structure.
Slapi_Value
Chapter 15
Function Reference
. If the
523

Advertisement

Table of Contents
loading

This manual is also suitable for:

Netscape directory server 7.0

Table of Contents