19.11. slapi_attr_get_type()
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:
| attr | Attribute for which you want to get the type. |
| type | When you call slapi_attr_get_type(), 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.

Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.