Functions for Handling Valueset
Memory Concerns
If the pointer to the
NULL
one is set.
When you are no longer using the
memory by calling
See Also
slapi_value_free()
Functions for Handling Valueset
This section contains reference information on valueset routines.
Table 15-29 Valueset Routines
Function
slapi_valueset_add_value()
slapi_valueset_add_value_ext()
slapi_valueset_count()
slapi_valueset_done()
slapi_valueset_find()
slapi_valueset_first_value()
slapi_valueset_free()
slapi_valueset_init()
slapi_valueset_new()
slapi_valueset_next_value()
slapi_valueset_set_from_smod()
slapi_valueset_set_valueset()
514
Netscape Directory Server Plug-In Programmer's Guide • December 2003
Slapi_Value
. If the
Slapi_Value
slapi_value_free()
Description
Adds a Slapi_Value in the Slapi_ValueSet structure.
Enables adding of a Slapi_Value in the Slapi_ValueSet structure
without having to duplicate and free the target value.
Returns the number of values contained in a Slapi_ValueSet
structure.
Frees the values contained in the Slapi_ValueSet structure.
Finds the value in a valueset using the syntax of an attribute.
Gets the first value of a Slapi_ValueSet structure.
Frees the specified Slapi_ValueSet structure and its members from
memory.
Resets a Slapi_ValueSet structure to no values.
Allocates a new Slapi_ValueSet structure.
Gets the next value from a Slapi_ValueSet structure.
Copies the values of Slapi_Mod structure into a Slapi_ValueSet
structure.
Initializes a Slapi_ValueSet structure from another
Slapi_ValueSet structure.
is
, nothing is done and the function returns
NULL
already contains a value, it is freed from before the new
Slapi_Value
.
structure, you should free it from
Need help?
Do you have a question about the NETSCAPE DIRECTORY SERVER 6.2 - PLUG-IN and is the answer not in the manual?
Questions and answers