Sun Directory Server Enterprise Edition 7.0 Developer's Guide

slapi_mod_set_type()

Sets the attribute type of a Slapi_Mod.

Syntax

#include "slapi-plugin.h"
 void slapi_mod_set_type(Slapi_Mod *smod, const char *type);

Parameters

This function takes the following parameters:

smod

Pointer to an initialized Slapi_Mod.

type

An attribute type.

Description

Sets the attribute type of the Slapi_Mod to a copy of the given value.

See Also

slapi_mod_get_type()