Complete Contents
Getting Started
Chapter 1 Understanding Server Plug-Ins
Chapter 2 Writing and Compiling Plug-Ins
Chapter 3 Calling the Front-End API Functions
Chapter 4 Quick Start
Chapter 5 Writing Database Plug-Ins
Chapter 6 Writing Pre/Post-Operation Plug-Ins
Chapter 7 Defining Functions for LDAP Operations
Chapter 8 Defining Functions for Database Operations
Chapter 9 Defining Functions for Authentication
Chapter 10 Writing Entry Store/Fetch Plug-Ins
Chapter 11 Writing Extended Operation Plug-Ins
Chapter 12 Writing Matching Rule Plug-Ins
Chapter 13 Data Type and Structure Reference
Chapter 14 Function Reference
Chapter 15 Parameter Reference
Glossary
Previous Next Contents Bookshelf Datatypes List



 Slapi_Entry
Represents an entry in the directory.

Syntax

typedef struct slapi_entry Slapi_Entry;

Description

Slapi_Entry is the data type for an opaque structure that represents an entry in the directory. In certain cases, your server plug-in may need to work with an entry in the directory.

The following table summarizes the front-end API functions that you can call to work with attributes.
To do this...
Call this function
Allocate memory for a entry structure
slapi_entry_alloc()

Copy an existing entry structure
slapi_entry_dup()

Free an entry structure from memory
slapi_entry_free()

Create an entry structure from an LDIF description of the entry
slapi_str2entry()

Generate an LDIF description of an entry from its entry structure
slapi_entry2str()

Get the DN of an entry
slapi_entry_get_dn()

Set the DN of an entry
slapi_entry_set_dn()

Determine if an entry complies with the schema
slapi_entry_schema_check()

Iterate through the attributes in an entry
slapi_entry_first_attr(), slapi_entry_next_attr()

Determine if an entry contains a specified attribute
slapi_entry_attr_find()

Add new values to an attribute in an entry
slapi_entry_add_values()

Add values to an attribute in an entry without replacing the existing attribute values
slapi_entry_attr_merge()

Remove values from an attriubte in an entry
slapi_entry_delete_values()

Determine if any values from the entry's RDN are present as attributes
slapi_entry_rdn_values_present ()

See Also

Slapi_Attr.

 

© Copyright 1998 Netscape Communications Corporation