Netscape DIRECTORY SERVER 6.1 - PLUG-IN Manual page 244

Table of Contents

Advertisement

Functions for Handling Attributes
Attribute Routines (Continued)
Table 15-5
Function
slapi_valueset_set_valueset()
slapi_attr_add_value()
Adds a value to an attribute.
Syntax
#include "slapi-plugin.h"
int slapi_attr_add_value(Slapi_Attr *a, const Slapi_Value *v);
Parameters
This function takes the following parameters:
a
v
Returns
This function always returns 0.
See Also
slapi_attr_first_value()
slapi_attr_next_value()
slapi_attr_get_numvalues()
slapi_attr_value_cmp()
slapi_attr_value_find()
slapi_attr_basetype()
Returns the base type of an attribute (for example, if given
).
cn
244
Netscape Directory Server Plug-In Programmer's Guide • August 2002
Description
Initializes a Slapi_ValueSet structure from another
Slapi_ValueSet structure.
The attribute that will contain the values.
Values to be added to the attribute.
, returns
cn;lang-jp

Advertisement

Table of Contents
loading

This manual is also suitable for:

Directory server 6.1

Table of Contents