Netscape DIRECTORY SERVER 6.02 - PLUG-IN Manual page 275

Table of Contents

Advertisement

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.
Syntax
#include "slapi-plugin.h"
int slapi_entry_attr_find( const Slapi_Entry *e, const char *type,
Slapi_Attr **attr );
Parameters
This function takes the following parameters:
e
type
attr
Entry from which you want to delete the attribute.
Attribute type that you want to delete.
Entry that you want to check.
Name of the attribute that you want to check.
Pointer to the attribute, if the attribute is in the entry.
Functions for Managing Entries
Chapter 14
Function Reference
275

Advertisement

Table of Contents
loading

This manual is also suitable for:

Directory server 6.02

Table of Contents