19.17. slapi_attr_syntax_normalize()

Description

Use this function to search the syntaxes for an attribute type and return its normalized form.

Syntax

#include "slapi-plugin.h"
char * slapi_attr_syntax_normalize( const char *s );

Parameters

This function takes the following parameters:

s Attribute type for which you wish to search.
Returns

This function returns the copy of the desired normalized attribute or a normalized copy of what was passed in.

Memory Concerns

You should free the returned string using slapi_ch_free()

See Also

slapi_ch_free()