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

slapi_mod_get_type()

Gets the attribute type of a Slapi_Mod structure.

Syntax

#include "slapi-plugin.h"
 const char *slapi_mod_get_type(const Slapi_Mod *smod);

Parameters

This function takes the following parameter:

smod

Pointer to an initialized Slapi_Mod.

Returns

This function returns a read-only pointer to the attribute type in the Slapi_Mod.

Description

Gets the LDAP attribute type of a Slapi_Mod.

See Also

slapi_mod_set_type()