Syntax
#include "slapi-plugin.h" char *slapi_entry_attr_get_charptr(const Slapi_Entry* e, char *type); Parameters
#include "slapi-plugin.h" char *slapi_entry_attr_get_charptr(const Slapi_Entry* e, char *type);
The function has the following parameters:
e
type
Returns
A copy of the first value in the attribute, or NULL if the entry does not contain the attribute. When you are done working with this value, you should free it from memory by calling the slapi_ch_free() function.