Netscape DIRECTORY SERVER 6.1 - PLUG-IN Manual page 515

Table of Contents

Advertisement

slapi_valueset_add_value()
Adds a
Syntax
#include "slapi-plugin.h"
void slapi_valueset_add_value(Slapi_ValueSet *vs,
const Slapi_Value *addval);
Parameters
This function takes the following parameters:
vs
addval
Description
This function adds a value in the form of a
Slapi_ValueSet
Memory Concerns
The value is duplicated from the
memory after using it without altering the
This function does not verify if the value is already present in the
structure. You can manually check this using
and
slapi_valueset_next_value()
See Also
slapi_valueset_first_value()
slapi_valueset_next_value()
slapi_valueset_add_value_ext()
Enables adding of a
to duplicate and free the target value.
in the
Slapi_Value
Slapi_ValueSet
Pointer to the Slapi_ValueSet structure to which to add the
value.
Pointer to the Slapi_Value to add to the Slapi_ValueSet.
structure.
Slapi_Value
structure.
Slapi_Value
structure, which can be freed from
Slapi_Value
Slapi_ValueSet
slapi_valueset_first_value()
.
in the
Slapi_ValueSet
Chapter 15
Functions for Handling Valueset
structure in a
structure.
Slapi_ValueSet
structure without having
Function Reference
515

Advertisement

Table of Contents
loading

This manual is also suitable for:

Directory server 6.1

Table of Contents