14.35. Slapi_ValueSet

Represents a set of Slapi_Value (or a list of Slapi_Value).
Slapi_ValueSet is the data type for an opaque structure that represents set of Slapi_Value (or a list of Slapi_Value).
Syntax

 

#include "slapi-plugin.h" 
typedef struct slapi_value_set Slapi_ValueSet;
The following table summarizes the front-end API functions that you can call to work with sets of Slapi_Value.
To ... ... Call this function
Add a Slapi_Value in the Slapi_ValueSet structure. slapi_valueset_add_value()
Count the values in a valueset. slapi_valueset_count()
Free the values contained in the Slapi_ValueSet structure. slapi_valueset_done()
Find the value in a valueset using the syntax of an attribute. slapi_valueset_find()
Get the first value of a Slapi_ValueSet structure. slapi_valueset_first_value()
Free the specified Slapi_ValueSet structure and its members from memory. slapi_valueset_free()
Reset a Slapi_ValueSet structure to no values. slapi_valueset_init()
Allocate a new Slapi_ValueSet structure. slapi_valueset_next_value()
Get the next value from a Slapi_ValueSet structure.  
Add the changes in a modification to a valueset. slapi_valueset_set_from_smod()
Initialize a Slapi_ValueSet structure from another Slapi_ValueSet structure. slapi_valueset_set_valueset()