24.27. slapi_entry_delete_string()

Deletes a string value from an attribute in an entry.
Syntax

#include "slapi-plugin.h"
int slapi_entry_delete_string(Slapi_Entry *e, const char *type, const char *value);

Parameters

This function takes the following parameters:

e
Entry from which you want the string deleted.
type
Attribute type from which you want the string deleted.
value
Value of string to delete.
Returns

This function returns 0 when successful; any other value returned signals failure.