Netscape DIRECTORY SERVER 6.02 - PLUG-IN Manual page 288

Table of Contents

Advertisement

Functions for Managing Entries
Description
This function returns a copy of an existing
other front-end functions to change the DN and attributes of this entry.
Memory Concerns
When you are no longer using the entry, free it from memory by calling the
slapi_entry_free()
See Also
slapi_entry_alloc()
slapi_entry_free()
slapi_entry_first_attr()
Finds the first attribute in an entry. If you want to iterate through the attributes in
an entry, use this function in conjunction with the
function.
Syntax
#include "slapi-plugin.h"
int slapi_entry_first_attr( Slapi_Entry *e, Slapi_Attr **attr );
Parameters
This function takes the following parameters:
e
attr
Returns
Returns
Memory Concerns
Do not free the returned
structure. If you need a copy, use
See Also
slapi_attr_dup()
288
Netscape Directory Server Plug-In Programmer's Guide • May 2002
function.
Entry from which you want to get the attribute.
Pointer to the first attribute in the entry.
when successful; any other value returned signals failure.
0
attr
Slapi_Entry
slapi_entry_next_attr()
. This is a pointer into the internal entry data
slapi_attr_dup()
structure. You can call
.

Advertisement

Table of Contents
loading

This manual is also suitable for:

Directory server 6.02

Table of Contents