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, const char *type );
Parameters
This function takes the following parameters:
e
type
Returns
This function returns one of the following values:
•
0
•
1
•
-1
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.
if successful.
if the specified attribute is not part of the entry.
if an error occurred.
Functions for Managing Entries
Chapter 15
Function Reference
327
Need help?
Do you have a question about the NETSCAPE DIRECTORY SERVER 7.0 - PLUG-IN and is the answer not in the manual?
Questions and answers