Netscape DIRECTORY SERVER 6.2 - PLUG-IN Manual page 317

Table of Contents

Advertisement

When you are no longer using the entry, you should free it from memory by calling
the
slapi_entry_free()
Memory Concerns
When you no longer use the entry, free it from memory by calling the
slapi_entry_free()
See Also
slapi_entry_dup()
slapi_entry_free()
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, char *type );
Parameters
This function takes the following parameters:
e
type
Returns
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.
slapi_entry_attr_find()
Determines if an entry contains the specified attribute. If the entry contains the
attribute, the function returns a pointer to the attribute.
function.
function.
Entry from which you want to delete the attribute.
Attribute type that you want to delete.
Functions for Managing Entries
Chapter 15
Function Reference
317

Advertisement

Table of Contents
loading

This manual is also suitable for:

Directory server 6.2

Table of Contents