19.19. slapi_attr_type_cmp()
Compares two attribute types to determine if they are the same.
#include "slapi-plugin.h" int slapi_attr_type_cmp( const char *t1, const char *t2, int opt );
This function takes the following parameters:
| t1 | Name of the first attribute type that you want to compare. |
| t2 | Name of the second attribute type that you want to compare. |
| opt | One of the following values:
|
This function returns one of the following values:
- 0 if the type names are equal.
- A non-zero value if the type names are not equal.

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.