Replaces the value or values of an attribute in an entry with a specified string value.
#include "slapi-plugin.h" void slapi_entry_attr_set_charptr(Slapi_Entry* e, const char *type, const char *value);
This function takes the following parameters:
Entry in which you want to set the value.
Attribute type in which you want to set the value.
String value that you want to assign to the attribute.
This function makes a copy of the parameter values. values can be NULL, and if so, this function is roughly equivalent to slapi_entry_attr_delete().