42.13. slapi_value_init_berval()

Description

This function initializes the Slapi_Value structure with the value contained in the berval structure. The content of the berval structure is duplicated.

Syntax

#include "slapi-plugin.h"
slapi_value_init_berval(Slapi_Value *v, struct berval *bval);

Parameters

This function takes the following parameters:

v
Pointer to the value to initialize. The pointer must not be NULL.
bval
Pointer to the berval structure to be used to initialize the value.
Returns

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