43.8. slapi_valueset_init()

Description

This function returns the values contained in the Slapi_ValueSet structure (sets them to 0). This does not free the values contained in the structure. To free the values, use slapi_valueset_done().

Syntax

#include "slapi-plugin.h"
void slapi_valueset_init(Slapi_ValueSet *vs);

Parameters

This function takes the following parameter:

vs
Pointer to the Slapi_ValueSet to replace.
Memory Concerns

When you are no longer using the Slapi_ValueSet structure, you should free it from memory by using slapi_valueset_free().