Allocates a new Slapi_ValueSet structure.
#include "slapi-plugin.h" Slapi_ValueSet *slapi_valueset_new( void );
This function takes no parameters.
This function returns a a pointer to the newly allocated Slapi_ValueSet structure. If no space could be allocated (for example, if no more virtual memory exists), the slapd program terminates.
This function returns an empty Slapi_ValueSet structure. You can call other slapi_valueset functions of the API to set the values in the Slapi_ValueSet structure.
When you are no longer using the value, you should free it from memory by calling slapi_valueset_free().