19.18. slapi_attr_type2plugin()
Gets a pointer to information about the syntax plug-in responsible for handling the specified attribute type. Syntax plug-ins are plug-ins that you can write to index and search for specific attribute types.
#include "slapi-plugin.h" int slapi_attr_type2plugin( const char *type, void **pi );
This function takes the following parameters:
| type | Type of attribute for which you want to get the plug-in. |
| pi | Pointer to the plug-in structure. |
This function returns one of the following values:
- 0 if successful.
- -1 if the corresponding plug-in is not found.

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.