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

slapi_valueset_init()

Resets a Slapi_ValueSet structure to no values.

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 reset.

Description

This function initializes 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() .

Memory Concerns

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

See Also

slapi_valueset_done()

slapi_valueset_free()