Allocates a new Slapi_Value structure and initializes it from another Slapi_Value structure.
#include "slapi-plugin.h" Slapi_Value * slapi_value_new_value(const Slapi_Value *v);
This function takes the following parameter:
Pointer to the Slapi_Value structure used to initialize the newly allocated Slapi_Value.
This function returns a pointer to the newly allocated Slapi_Value. If space cannot be allocated (for example, if no more virtual memory exists), the slapd program will terminated.
This function returns a Slapi_Value structure containing a value duplicated from the Slapi_Value structure passed as the parameter. This function is identical to slapi_value_dup() .
When you are no longer using the value, you should free it from memory by calling the slapi_value_free() function/