Sun Java System Directory Server Enterprise Edition 6.1 Developer's Guide

slapi_mod_add_value()

Adds a value to a Slapi_Mod structure.

Syntax

#include "slapi-plugin.h"
 void slapi_mod_add_value(Slapi_Mod *smod, const struct berval *val);

Parameters

This function takes the following parameters:

smod

Pointer to an initialized Slapi_Mod.

val

Pointer to a berval representing the attribute value.

Description

Adds a copy of a given attribute to the Slapi_Mod.