Slapi_Valueset_Free() - Netscape DIRECTORY SERVER 7.0 - PLUG-IN Manual

For plug-in
Table of Contents

Advertisement

Syntax
#include "slapi-plugin.h"
int slapi_valueset_first_value( Slapi_ValueSet *vs,
Slapi_Value **v );
Parameters
This function takes the following parameters:
vs
v
Returns
This function returns one of the following values:
The index of the value in the
-1
Description
Call this function when you wish to get the first value of a
wish to iterate through all of the values. The returned value is the index of the
value in the
slapi_valueset_next_value()
Memory Concerns
This function gives a pointer to the actual value within the
should not free it from memory.
See Also
slapi_valueset_next_value()

slapi_valueset_free()

Frees the specified
Syntax
#include "slapi-plugin.h"
void slapi_valueset_free(Slapi_ValueSet *vs)
Pointer to the Slapi_ValueSet structure from which you wish
to get the value.
Address of the pointer to the Slapi_Value structure for the
returned value.
if there was no value.
Slapi_ValueSet
Slapi_ValueSet
.
Slapi_ValueSet
structure and must be passed to call
to get the next value.
structure and its members from memory.
Functions for Handling Valueset
Slapi_ValueSet
Slapi_ValueSet
Chapter 15
Function Reference
or you
. You
529

Advertisement

Table of Contents
loading

This manual is also suitable for:

Netscape directory server 7.0

Table of Contents