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

slapi_value_init()

Initializes a Slapi_Value structure with no value.

Syntax

#include "slapi-plugin.h"
 Slapi_Value * slapi_value_init(Slapi_Value *v);

Parameters

This function takes the following parameter:

v

Pointer to the value to be initialized. The pointer must not be NULL.

Returns

This function returns a pointer to the initialized Slapi_Value structure (itself).

Description

This function initializes the Slapi_Value structure, resetting all of its fields to zero. The value passed as the parameter must be a valid Slapi_Value.

Memory Concerns

When finished using the Slapi_Value structure, free its internal structures by using slapi_value_done().