Returns the base type of an attribute (for example, if given cn;lang-jp, returns cn).
Syntax
#include "slapi-plugin.h"
char *slapi_attr_basetype( char *type, char *buf,
size_t bufsiz );
Parameters
The function has the following parameters:
Returns
NULL if the base type fits in the buffer. If the base type is longer than the buffer, the function allocates memory for the base type and returns a pointer to it. You should free the returned base type when done by calling slapi_ch_free().
Example
[To be added]
See Also