Allocates a new Slapi_Value structure.
#include "slapi-plugin.h" Slapi_Value * slapi_value_new();
This function does not take any parameters.
This function returns a pointer to the newly allocated Slapi_Value structure. If space cannot be allocated (for example, if no more virtual memory exists), the slapd program terminates.
This function returns an empty Slapi_Value structure. You can call other functions of the API to set the value.
When you are no longer using the value, free it from memory by calling slapi_value_free().