19.16. slapi_attr_set_valueset()

Description

This function initializes a valueset in a Slapi_Attr structure from a specified Slapi_ValueSet structure; the valueset in Slapi_Attr will be *vs, not a copy.

Syntax

#include "slapi-plugin.h"
int slapi_attr_set_valueset(Slapi_Attr *a, const Slapi_ValueSet *vs);

Parameters

This function takes the following parameters:

a Pointer to the Slapi_Attr structure, the valueset of which you wish to set.
vs Pointer to the Slapi_ValueSet structure from which you want to extract the values.
Returns

This function returns 0 unconditionally.