Netscape DIRECTORY SERVER 6.1 - PLUG-IN Manual page 522

Table of Contents

Advertisement

Functions for Handling Valueset
The index of the value in the
-1
Description
Call this function when you wish to get the next value of a
having first called
index of the value in the
slapi_valueset_next_value()
Memory Concerns
This function gives a pointer to the actual value within the
you should not free it from memory.
See Also
slapi_valueset_first_value()
slapi_valueset_set_from_smod()
Copies the values of
Syntax
#include "slapi-plugin.h"
void slapi_valueset_set_from_smod(Slapi_ValueSet *vs,
Slapi_Mod *smod);
Parameters
This function takes the following parameters:
vs
smod
Description
This function copies all of the values contained in a
Slapi_ValueSet
522
Netscape Directory Server Plug-In Programmer's Guide • August 2002
if there was no more value or the input index is incorrect.
slapi_valueset_first_value()
Slapi_ValueSet
Slapi_Mod
Pointer to the Slapi_ValueSet structure into which you wish
to copy the values.
Pointer to the Slapi_Mod structure from which you wish to
copy the values.
structure.
.
Slapi_ValueSet
. The returned value is the
structure and must be passed to
.
structure into a
Slapi_ValueSet
Slapi_Mod
, after
Slapi_ValueSet
and
Slapi_ValueSet
structure.
structure into a

Advertisement

Table of Contents
loading

This manual is also suitable for:

Directory server 6.1

Table of Contents