Gets the name of the attribute type from a specified attribute.
#include "slapi-plugin.h" int slapi_attr_get_type( Slapi_Attr *attr, char **type );
This function takes the following parameters:
Attribute of which you wish to get the type.
When you call this function, this parameter is set to a pointer to the type of the specified attribute. Do not free this attribute type; the type is part of the actual data in the attribute, not a copy of the data.
This function returns 0 if successful.