Netscape DIRECTORY SERVER 6.1 - PLUG-IN Manual page 516

Table of Contents

Advertisement

Functions for Handling Valueset
Syntax
#include "slapi-plugin.h"
void slapi_valueset_add_value_ext(Slapi_ValueSet *vs,
Slapi_Value *addval, unsigned long flags);
Parameters
This function takes the following parameters:
vs
addval
flags
Description
Sometimes, it is desirable to have a pass-in interface to add a
without having to duplicate and free the target value. This function is similar to an
existing function
unsigned long flags
the flags, the function would simply take over the ownership of the new value to be
added without duplicating it.
See Also
slapi_valueset_add_value()
slapi_valueset_first_value()
slapi_valueset_next_value()
slapi_valueset_count()
Returns the number of values contained in a
Syntax
#include "slapi-plugin.h"
int slapi_valueset_count( const Slapi_ValueSet *vs);
Parameters
This function takes the following parameter:
516
Netscape Directory Server Plug-In Programmer's Guide • August 2002
Pointer to the Slapi_ValueSet structure to which to add the
value.
Pointer to the Slapi_Value to add to the Slapi_ValueSet.
If SLAPI_VALUE_FLAG_PASSIN bit is set in the flags, the
function would take over the ownership of the new value to be
added without duplicating it.
slapi_valueset_add_value()
, for setting flags. If
Slapi_Value
, but has one more parameter,
SLAPI_VALUE_FLAG_PASSIN
structure.
Slapi_ValueSet
to a list
bit is set in

Advertisement

Table of Contents
loading

This manual is also suitable for:

Directory server 6.1

Table of Contents