Functions For Handling Valueset - Netscape DIRECTORY SERVER 7.0 - PLUG-IN Manual

For plug-in
Table of Contents

Advertisement

Functions for Handling Valueset

value
vfrom
Returns
This function returns one of the following values:
The pointer to the
NULL
Description
This function sets the value of the
duplicated from the
Memory Concerns
If the pointer to the
returns
the new one is set.
When you are no longer using the
memory by calling
See Also
slapi_value_free()
Functions for Handling Valueset
This section contains reference information on valueset routines.
Table 15-29 Valueset Routines
Function
slapi_valueset_add_value()
slapi_valueset_add_value_ext()
slapi_valueset_count()
slapi_valueset_done()
524
Netscape Directory Server Plug-in Programmer's Guide • October 2004
Pointer to the Slapi_Value in which to set the value.
Pointer to the Slapi_Value from which to get the value.
Slapi_Value
if it was
.
NULL
Slapi_Value
Slapi_Value
. If the
NULL
Slapi_Value
slapi_value_free()
Description
Adds a Slapi_Value in the Slapi_ValueSet structure.
Enables adding of a Slapi_Value in the Slapi_ValueSet structure
without having to duplicate and free the target value.
Returns the number of values contained in a Slapi_ValueSet
structure.
Frees the values contained in the Slapi_ValueSet structure.
structure passed as the parameter.
structure. This value is
Slapi_Value
structure
.
vfrom
vfrom
is
, nothing is done, and the function
NULL
already contains a value, it is freed from before
structure, you should free it from
Slapi_Value
.
must not be
.
NULL

Advertisement

Table of Contents
loading

This manual is also suitable for:

Netscape directory server 7.0

Table of Contents