Functions for Handling Valueset
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)
Parameters
This function takes the following parameter:
vs
Description
This function frees the
Call this function when you are done working with the structure.
See Also
slapi_valueset_done()
470
Netscape Directory Server Plug-In Programmer's Guide • January 2002
if there was no value.
Slapi_ValueSet
Slapi_ValueSet
Pointer to the Slapi_ValueSet to free.
Slapi_ValueSet
.
Slapi_ValueSet
structure and must be passed to call
to get the next value.
structure and its members from memory.
structure and its members if it is not
, or you
Slapi_ValueSet
. You
Slapi_ValueSet
NULL
.
Need help?
Do you have a question about the NETSCAPE DIRECTORY SERVER 6.01 - PLUG-IN and is the answer not in the manual?
Questions and answers