42.17. slapi_value_new_berval()
This function returns a Slapi_Value structure containing a value duplicated from the berval structure passed as the parameter.
#include "slapi-plugin.h" slapi_value_new_berval(const struct berval *bval);
This function takes the following parameter:
|
bval
| Pointer to the berval 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 terminate.
When you are no longer using the value, you should free it from memory by calling slapi_value_free().

Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.