Syntax
#include "slapi-plugin.h" char *slapi_attr_basetype( char *type, char *buf, size_t bufsiz ); Parameters
#include "slapi-plugin.h" char *slapi_attr_basetype( char *type, char *buf, size_t bufsiz );
The function has the following parameters:
type
buf
bufsiz
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().