42.19. slapi_value_new_string_passin()
This function returns a Slapi_Value structure containing the string passed as the parameter. The string passed in must not be freed from memory.
#include "slapi-plugin.h" Slapi_Value * slapi_value_new_string_passin ( char *s );
This function takes the following parameter:
|
s
| A null-terminated string used to initialize the newly-allocated Slapi_Value structure. |
This function returns a pointer to a newly allocated Slapi_Value structure. If space cannot be allocated (for example, if no virtual memory exists), the slapd program terminates.
The value should be freed by the caller, using 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.