![Netscape NETSCAPE DIRECTORY SERVER 6.2 - GATEWAY CUSTOMIZATION Manual Download Page 516](http://html1.mh-extra.com/html/netscape/netscape-directory-server-6-2-gateway-customization/netscape-directory-server-6-2-gateway-customization_manual_1674642516.webp)
Functions for Handling Valueset
516
Netscape Directory Server Plug-In Programmer’s Guide • December 2003
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:
Description
Sometimes, it is desirable to have a pass-in interface to add a
Slapi_Value
to a list
without having to duplicate and free the target value. This function is similar to an
existing function
slapi_valueset_add_value()
, but has one more parameter,
unsigned long flags
, for setting flags. If
SLAPI_VALUE_FLAG_PASSIN
bit is set in
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
Slapi_ValueSet
structure.
Syntax
#include “slapi-plugin.h”
int slapi_valueset_count( const Slapi_ValueSet *vs);
Parameters
This function takes the following parameter:
vs
Pointer to the
Slapi_ValueSet
structure to which to add the
value.
addval
Pointer to the
Slapi_Value
to add to the
Slapi_ValueSet
.
flags
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.
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...