Netscape DIRECTORY SERVER 6.02 - PLUG-IN Manual page 468

Table of Contents

Advertisement

Functions for Handling Valueset
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_count()
Returns the number of values contained in a
Syntax
#include "slapi-plugin.h"
int slapi_valueset_count( const Slapi_ValueSet *vs);
468
Netscape Directory Server Plug-In Programmer's Guide • May 2002
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.
structure.
Slapi_Value
structure, which can be freed from
Slapi_Value
Slapi_ValueSet
slapi_valueset_first_value()
.
Slapi_ValueSet
structure in a
structure.
Slapi_ValueSet
structure.

Advertisement

Table of Contents
loading

This manual is also suitable for:

Directory server 6.02

Table of Contents