![Netscape NETSCAPE DIRECTORY SERVER 6.2 - GATEWAY CUSTOMIZATION Manual Download Page 511](http://html1.mh-extra.com/html/netscape/netscape-directory-server-6-2-gateway-customization/netscape-directory-server-6-2-gateway-customization_manual_1674642511.webp)
Functions for Handling Values
Chapter
15
Function Reference
511
Parameters
This function takes the following parameters:
Returns
This function returns one of the following values:
•
0 if the value is set.
•
1 if the pointer to the
Slapi_Value
is
NULL
.
Description
This function sets the value of the
Slapi_Value
structure from the integer
intVal
.
Memory Concerns
If the pointer to the
Slapi_Value
structure is
NULL
, nothing is done and the
function returns -1. If the
Slapi_Value
already contains a value, it is freed from
memory before the new one is set.
When you are no longer using the
Slapi_Value
structure, you should free it from
memory by calling
slapi_value_free()
.
See Also
slapi_value_free()
slapi_value_set_string()
Copies a string in the value of a
Slapi_Value
structure.
Syntax
#include “slapi-plugin.h”
slapi_value_set_string(Slapi_Value *value, const char *strVal);
Parameters
This function takes the following parameters:
value
Pointer to the
Slapi_Value
structure in which to set the
integer value.
intVal
The integer containing the value to set.
value
Pointer to the
Slapi_Value
structure in which to set the value.
Summary of Contents for NETSCAPE DIRECTORY SERVER 6.2 - GATEWAY CUSTOMIZATION
Page 1: ...Plug In Programmer s Guide Netscape Directory Server Version6 2 December 2003...
Page 18: ...18 Netscape Directory Server Plug In Programmer s Guide December 2003...
Page 56: ...56 Netscape Directory Server Plug In Programmer s Guide December 2003...
Page 112: ...112 Netscape Directory Server Plug In Programmer s Guide December 2003...
Page 168: ...Plug In API Reference 168 Netscape Directory Server Plug In Programmer s Guide December 2003...
Page 170: ...170 Netscape Directory Server Plug In Programmer s Guide December 2003...
Page 600: ...600 Netscape Directory Server Plug In Programmer s Guide December 2003...
Page 612: ...612 Netscape Directory Server Plug In Programmer s Guide December 2003...