Initializes a Slapi_Value structure from the berval structure.
#include "slapi-plugin.h" Slapi_Value * slapi_value_init_berval(Slapi_Value *v, struct berval *bval);
This function takes the following parameters:
Pointer to the value to initialize. The pointer must not be NULL.
Pointer to the berval structure to be used to initialize the value.
This function returns a pointer to the initialized Slapi_Value structure (itself).
This function initializes the Slapi_Value structure with the value contained in the berval structure. The content of the berval structure is duplicated.