Functions for Handling Values
•
A long integer which corresponds to the value stored in the
structure.
•
0
Description
This function converts the value contained in the
long integer.
See Also
slapi_value_get_int()
slapi_value_get_ulong()
slapi_value_get_uint()
slapi_value_get_string()
Returns the value as a string.
Syntax
#include "slapi-plugin.h"
const char*slapi_value_get_string(const Slapi_Value *value);
Parameters
This function takes the following parameter:
value
Returns
This function returns one of the following values:
•
A string containing the value. The function returns a pointer to the actual
string value in
•
NULL
Memory Concerns
You should not free the string unless to plan to replace it by calling
slapi_value_set_string()
510
Netscape Directory Server Plug-in Programmer's Guide • October 2004
if there is no value.
Pointer to the value you wish to get as a string.
Slapi_Value
if there is no value.
Slapi_Value
, not a copy of it.
.
Slapi_Value
structure into a