Functions for Handling Values
slapi_value_get_string()
Returns the value as a string.
Syntax
#include "slapi-plugin.h"
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()
See Also
slapi_value_set_string()
slapi_value_get_uint()
Converts the value to an unsigned integer.
Syntax
#include "slapi-plugin.h"
slapi_value_get_uint(const Slapi_Value *value);
Parameters
This function takes the following parameter:
value
500
Netscape Directory Server Plug-In Programmer's Guide • August 2002
Pointer to the value you wish to get as a string.
Slapi_Value
if there is no value.
.
Pointer to the value that you wish to get as an unsigned integer.
, not a copy of it.
Need help?
Do you have a question about the NETSCAPE DIRECTORY SERVER 6.1 - PLUG-IN and is the answer not in the manual?
Questions and answers