42.21. slapi_value_set()
This function sets the value in the Slapi_Value structure. The value is a duplicate of the data pointed to by val and of the length len.
#include "slapi-plugin.h" slapi_value_set( Slapi_Value *value, void *val, unsigned long len);
This function takes the following parameters:
|
value
| Pointer to the Slapi_Value in which to set the value. |
|
val
| Pointer to the value. |
|
len
| Length of the value. |
This function returns a pointer to the Slapi_Value with the valueset.
If the pointer to the Slapi_Value structure is NULL, then nothing is done, and the function returns NULL. If the Slapi_Value structure already contains a value, it is freed from memory before the new one is set.

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.