Sun Directory Server Enterprise Edition 7.0 Developer's Guide

slapi_entry_attr_delete()

Deletes an attribute (and all its associated values) from an entry.

Syntax

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

Parameters

This function takes the following parameters:

e

Entry from which you want to delete the attribute.

type

Attribute type that you want to delete.

Returns

This function returns one of the following values: