42.4. slapi_value_get_berval()

Gets the berval structure of the value.
Syntax

#include "slapi-plugin.h"
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

This function returns a pointer to the berval structure contained in the Slapi_Value. This function returns a pointer to the actual berval structure, 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().