42.14. slapi_value_init_string()

Description

This function initializes the Slapi_Value structure with the value contained in the string. The string is duplicated.

Syntax

#include "slapi-plugin.h"
slapi_value_init_string(Slapi_Value *v,const char *s);

Parameters

This function takes the following parameters:

v
Pointer to the value to be initialized. The pointer must not be NULL.
s
A null-terminated string used to initialize the value.
Returns

This function returns a pointer to the initialized Slapi_Value structure (itself).