Deletes an attribute (and all its associated values) from an entry.
#include "slapi-plugin.h" int slapi_entry_attr_delete( Slapi_Entry *e, const char *type );
This function takes the following parameters:
Entry from which you want to delete the attribute.
Attribute type that you want to delete.
This function returns one of the following values:
0 if successful.
1 if the specified attribute is not part of the entry.
-1 if an error occurred.