19.23. slapi_valueset_set_from_smod()

Adds the changes in a modification to a valueset. Use this function to create a value set that contains the changes from smod.
Syntax

#include "slapi-plugin.h"
void slapi_valueset_set_from_smod(Slapi_ValueSet *vs, Slapi_Mod *smod);

Parameters

This function takes the following parameters:

vs The valueset that will receive changes.
smod Holds the changes to an attribute.