Duplicates a value.
#include "slapi-plugin.h" Slapi_Value * slapi_value_dup(const Slapi_Value *v);
This function takes the following parameter:
Pointer to the Slapi_Value structure you wish to duplicate.
This function returns a pointer to a newly allocated Slapi_Value.
The new Slapi_Value is allocated and needs to be freed by the caller, using slapi_value_free().