Netscape DIRECTORY SERVER 6.2 - PLUG-IN Manual page 330

Table of Contents

Advertisement

Functions for Managing Entries
Parameters
This function takes the following parameter:
e
Returns
This function returns the new copy of the entry. If the structure cannot be
duplicated (for example, if no more virtual memory exists), the
terminates.
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
330
Netscape Directory Server Plug-In Programmer's Guide • December 2003
Entry that you want to copy.
Slapi_Entry
function.
Entry from which you want to get the attribute.
Pointer to the first attribute in the entry.
program
slapd
structure. You can call
slapi_entry_next_attr()

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the NETSCAPE DIRECTORY SERVER 6.2 - PLUG-IN and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

This manual is also suitable for:

Directory server 6.2

Table of Contents