Sun Java System Directory Server Enterprise Edition 6.1 Developer's Guide

slapi_valueset_done()

Frees the values contained in the Slapi_ValueSet structure.

Syntax

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

Parameters

This function takes the following parameter:

vs

Pointer to the Slapi_ValueSet structure from which you wish to free its values.

Memory Concerns

Use this function when you are no longer using the values, but you want to reuse the Slapi_ValueSet structure for a new set of values.