Sun Java System Directory Server Enterprise Edition 6.0 Developer's Guide

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

Returns 0 when successful; any other value returned signals failure.