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
Need help?
Do you have a question about the NETSCAPE DIRECTORY SERVER 7.0 - PLUG-IN and is the answer not in the manual?
Questions and answers