See Also
slapi_value_free()
slapi_value_set_int()
Sets the integer value of a
Syntax
#include "slapi-plugin.h"
slapi_value_set_int(Slapi_Value *value, int intVal);
Parameters
This function takes the following parameters:
value
intVal
Returns
This function returns one of the following values:
•
0
•
1
Description
This function sets the value of the
Memory Concerns
If the pointer to the
function returns
memory before the new one is set.
When you are no longer using the
memory by calling
See Also
slapi_value_free()
Slapi_Value
Pointer to the Slapi_Value structure in which to set the
integer value.
The integer containing the value to set.
if the value is set.
if the pointer to the
Slapi_Value
Slapi_Value
. If the
-1
Slapi_Value
slapi_value_free()
structure.
is
.
NULL
structure from the integer
Slapi_Value
structure is
, nothing is done, and the
NULL
already contains a value, it is freed from
structure, you should free it from
Slapi_Value
.
Chapter 15
Functions for Handling Values
.
intVal
Function Reference
521
Need help?
Do you have a question about the NETSCAPE DIRECTORY SERVER 7.0 - PLUG-IN and is the answer not in the manual?
Questions and answers