Allocates a new Slapi_Value structure and initializes it from a string.
#include "slapi-plugin.h" Slapi_Value * slapi_value_new_string_passin ( char *s );
This function takes the following parameter:
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.
This function returns a Slapi_Value structure containing the string passed as the parameter. The string passed in must not be freed from memory.
The value should be freed by the caller, using slapi_value_free() .