Functions for Handling Values
Returns
This function returns one of the following values:
•
The length of the value contained in
•
0 if there is no value.
Description
This function returns the actual length of a value contained in the
structure.
slapi_value_get_long()
Converts the value into a long integer.
Syntax
#include "slapi-plugin.h"
slapi_value_get_long(const Slapi_Value *value);
Parameters
This function takes the following parameter:
value
Returns
This function returns one of the following values:
•
A long integer which corresponds to the value stored in the
structure.
•
0 if there is no value.
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()
452
Netscape Directory Server Plug-In Programmer's Guide • May 2002
Slapi_Value
Pointer to the Slapi_Value that you wish to get as a long
integer.
.
Slapi_Value
Slapi_Value
structure into a
Slapi_Value