Searches for an attribute type in the syntaxes, and returns a copy of the normalized attribute types.
#include "slapi-plugin.h" char * slapi_attr_syntax_normalize( const char *s );
This function takes the following parameter:
Attribute type for which you wish to search.
This function returns the copy of the desired normalized attribute, or a normalized copy of what was passed in.
Use this function to search the syntaxes for an attribute type and return its normalized form. If the attribute type is not defined in the schema, this function returns a copy of the type folded to lower case.
You should free the returned string using slapi_ch_free() .