33.22. slapi_mod_set_type()

Sets the attribute type of a Slapi_Mod.
Description

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

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.