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

slapi_value_get_berval()

Gets the berval structure of the value.

Syntax

#include "slapi-plugin.h"
 const struct berval * slapi_value_get_berval(
    const Slapi_Value *value);

Parameters

This function takes the following parameter:

value

Pointer to the Slapi_Value of which you wish to get the berval.

Returns

Returns a pointer to the berval structure contained in the Slapi_Value. This function returns a pointer to the actual berval structure, and not a copy of it.

Memory Concerns

You should not free the berval structure unless you plan to replace it by calling slapi_value_set_berval() .

See Also

slapi_value_set_berval()