JavaScript is required to for searching.
Skip Navigation Links
Exit Print View
Oracle Directory Server Enterprise Edition Developer's Guide 11 g Release 1 (11.1.1.5.0)
search filter icon
search icon

Document Information

Preface

Part I Directory Server Plug-In API Guide

1.  Before You Start Writing Plug-Ins

2.  Changes to the Plug-In API Since Directory Server 5.2

3.  Getting Started With Directory Server Plug-Ins

4.  Working With Entries Using Plug-Ins

5.  Extending Client Request Handling Using Plug-Ins

6.  Handling Authentication Using Plug-Ins

7.  Performing Internal Operations With Plug-Ins

8.  Writing Entry Store and Entry Fetch Plug-Ins

9.  Writing Extended Operation Plug-Ins

10.  Writing Matching Rule Plug-Ins

11.  Writing Password Storage Scheme Plug-Ins

12.  Writing Password Quality Check Plug-Ins

13.  Writing Computed Attribute Plug-Ins

Part II Directory Server Plug-In API Reference

14.  Data Type and Structure Reference

15.  Function Reference, Part I

Functions by Functional Area

Function Descriptions, Part I

Functions Alphabetically, Part 1

slapi_access_allowed()

Syntax

Parameters

Returns

Description

slapi_acl_check_mods()

Syntax

Parameters

Returns

Description

Memory Concerns

See Also

slapi_acl_verify_aci_syntax()

Syntax

Parameters

Returns

Memory Concerns

See Also

slapi_add_entry_internal_set_pb()

Syntax

Parameters

Returns

Description

Memory Concerns

See Also

slapi_add_internal_pb()

Syntax

Parameters

Returns

Description

Memory Concerns

slapi_add_internal_set_pb()

Syntax

Parameters

Returns

Description

Memory Concerns

See Also

slapi_attr_add_value()

Syntax

Parameters

Returns

Memory Concerns

See Also

slapi_attr_basetype()

Syntax

Parameters

Returns

Description

Memory Concerns

See Also

slapi_attr_dup()

Syntax

Parameters

Returns

Description

Memory Concerns

See Also

slapi_attr_first_value_const()

Syntax

Parameters

Returns

Description

Memory Concerns

See Also

slapi_attr_flag_is_set()

Syntax

Parameters

Returns

Description

See Also

slapi_attr_free()

Syntax

Parameters

Description

See Also

slapi_attr_get_bervals_copy()

Syntax

Parameters

Returns

Description

Memory Concerns

slapi_attr_get_flags()

Syntax

Parameters

Returns

Description

See Also

slapi_attr_get_numvalues()

Syntax

Parameters

Returns

Description

See Also

slapi_attr_get_oid_copy()

Syntax

Parameters

Returns

Description

Memory Concerns

slapi_attr_get_plugin()

Syntax

Parameters

Returns

slapi_attr_get_type()

Syntax

Parameters

Returns

See Also

slapi_attr_get_valueset()

Syntax

Parameters

Returns

Memory Concerns

See Also

slapi_attr_init()

Syntax

Parameters

Returns

Description

Memory Concerns

See Also

slapi_attr_new()

Syntax

Parameters

Returns

Description

See Also

slapi_attr_next_value_const()

Syntax

Parameters

Returns

Description

See Also

slapi_attr_syntax_normalize()

Syntax

Parameters

Returns

Description

Memory Concerns

See Also

slapi_attr_type_cmp()

Syntax

Parameters

Returns

See Also

slapi_attr_types_equivalent()

Syntax

Parameters

Returns

See Also

slapi_attr_value_cmp()

Syntax

Parameters

Returns

See Also

slapi_attr_value_find()

Syntax

Parameters

Returns

See Also

slapi_be_exist()

Syntax

Parameters

Returns

See Also

slapi_be_get_name()

Syntax

Parameters

Returns

Memory Concerns

slapi_be_get_readonly()

Syntax

Parameters

Returns

slapi_be_getsuffix()

Syntax

Parameters

Returns

Description

Memory Concerns

slapi_be_gettype()

Syntax

Parameters

Returns

Memory Concerns

slapi_be_is_flag_set()

Syntax

Parameters

Returns

slapi_be_issuffix()

Syntax

Parameters

Returns

Description

slapi_be_logchanges()

Syntax

Parameters

Returns

slapi_be_private()

Syntax

Parameters

Returns

slapi_be_select()

Syntax

Parameters

Returns

Memory Concerns

See Also

slapi_be_select_by_instance_name()

Syntax

Parameters

Returns

Description

Memory Concerns

See Also

slapi_berval_cmp()

Syntax

Parameters

Description

Returns

slapi_build_control()

Syntax

Parameters

Returns

Description

Memory Concerns

See Also

slapi_build_control_from_berval()

Syntax

Parameters

Returns

Description

Memory Concerns

See Also

slapi_ch_array_free()

Syntax

Parameters

Description

slapi_ch_bvdup()

Syntax

Parameters

Returns

Memory Concerns

See Also

slapi_ch_bvecdup()

Syntax

Parameters

Returns

Memory Concerns

See Also

slapi_ch_calloc()

Syntax

Parameters

Returns

Memory Concerns

See Also

slapi_ch_free()

Syntax

Parameters

Memory Concerns

See Also

slapi_ch_free_string()

Syntax

Parameters

Description

See Also

slapi_ch_malloc()

Syntax

Parameters

Returns

Memory Concerns

See Also

slapi_ch_realloc()

Syntax

Parameters

Returns

Memory Concerns

See Also

slapi_ch_strdup()

Syntax

Parameters

Returns

Memory Concerns

See Also

slapi_compute_add_evaluator()

Syntax

Parameters

Returns

Description

See Also

slapi_compute_add_search_rewriter_ex()

Syntax

Parameters

Returns

Description

slapi_control_present()

Syntax

Parameters

Returns

Memory Concerns

See Also

slapi_delete_internal_pb()

Syntax

Parameters

Returns

Description

Memory Concerns

See Also

slapi_delete_internal_set_pb()

Syntax

Parameters

Returns

Description

Memory Concerns

See Also

slapi_destroy_condvar()

Syntax

Parameters

Description

slapi_destroy_mutex()

Syntax

Parameters

Description

slapi_dn_beparent()

Syntax

Parameters

Returns

See Also

slapi_dn_ignore_case()

Syntax

Parameters

Returns

See Also

slapi_dn_isbesuffix()

Syntax

Parameters

Returns

slapi_dn_isbesuffix_norm()

Syntax

Parameters

Returns

slapi_dn_isparent()

Syntax

Parameters

Returns

See Also

slapi_dn_isroot()

Syntax

Parameters

Returns

slapi_dn_issuffix()

Syntax

Parameters

Returns

See Also

slapi_dn_normalize()

Syntax

Parameters

Returns

See Also

slapi_dn_normalize_case()

Syntax

Parameters

Returns

See Also

slapi_dn_normalize_to_end()

Syntax

Parameters

Returns

See Also

slapi_dn_parent()

Syntax

Parameters

Returns

slapi_dn_plus_rdn()

Syntax

Parameters

Returns

Memory Concerns

See Also

slapi_dup_control()

Syntax

Parameters

Returns

Description

Memory Concerns

See Also

slapi_entry2mods()

Syntax

Parameters

Returns

Description

See Also

slapi_entry2str()

Syntax

Parameters

Returns

Description

Memory Concerns

See Also

slapi_entry2str_with_options()

Syntax

Parameters

The Options Parameter

Returns

Description

Memory Concerns

See Also

slapi_entry_add_rdn_values()

Syntax

Parameters

Returns

Description

Memory Concerns

See Also

slapi_entry_add_string()

Syntax

Parameters

Returns

Description

Memory Concerns

slapi_entry_add_value()

Syntax

Parameters

Returns

Description

Memory Concerns

slapi_entry_add_values_sv()

Syntax

Parameters

Returns

Description

Memory Concerns

slapi_entry_add_valueset()

Syntax

Parameters

Returns

Description

Memory Concerns

slapi_entry_alloc()

Syntax

Returns

Description

Memory Concerns

See Also

slapi_entry_attr_delete()

Syntax

Parameters

Returns

slapi_entry_attr_find()

Syntax

Parameters

Returns

Memory Concerns

See Also

slapi_entry_attr_get_charptr()

Syntax

Parameters

Returns

Memory Concerns

slapi_entry_attr_get_int()

Syntax

Parameters

Returns

slapi_entry_attr_get_long()

Syntax

Parameters

Returns

slapi_entry_attr_get_uint()

Syntax

Parameters

Returns

slapi_entry_attr_get_ulong()

Syntax

Parameters

Returns

slapi_entry_attr_hasvalue()

Syntax

Parameters

Returns

Memory Concerns

slapi_entry_attr_merge_sv()

Syntax

Parameters

Returns

Description

Memory Concerns

slapi_entry_attr_replace_sv()

Syntax

Parameters

Returns

Description

Memory Concerns

slapi_entry_attr_set_charptr()

Syntax

Parameters

Memory Concerns

See Also

slapi_entry_attr_set_int()

Syntax

Parameters

Description

slapi_entry_attr_set_long()

Syntax

Parameters

slapi_entry_attr_set_uint()

Syntax

Parameters

Description

slapi_entry_attr_set_ulong()

Syntax

Parameters

Description

slapi_entry_delete_string()

Syntax

Parameters

Returns

slapi_entry_delete_values_sv()

Syntax

Parameters

Returns

Description

Memory Concerns

slapi_entry_dup()

Syntax

Parameters

Returns

Description

Memory Concerns

See Also

slapi_entry_first_attr()

Syntax

Parameters

Returns

Memory Concerns

See Also

slapi_entry_free()

Syntax

Parameters

Description

Memory Concerns

See Also

slapi_entry_get_dn()

Syntax

Parameters

Returns

Memory Concerns

See Also

slapi_entry_get_dn_const()

Syntax

Parameters

Returns

Memory Concerns

slapi_entry_get_ndn()

Syntax

Parameters

Returns

Memory Concerns

slapi_entry_get_sdn()

Syntax

Parameters

Returns

Memory Concerns

See Also

slapi_entry_get_sdn_const()

Syntax

Parameters

Returns

Memory Concerns

See Also

slapi_entry_get_uniqueid()

Syntax

Parameters

Returns

Memory Concerns

See Also

slapi_entry_has_children()

Syntax

Parameters

Returns

slapi_entry_init()

Syntax

Parameters

Description

Memory Concerns

See Also

slapi_entry_isroot()

Syntax

Parameters

Returns

slapi_entry_merge_values_sv()

Syntax

Parameters

Returns

Description

Memory Concerns

slapi_entry_next_attr()

Syntax

Parameters

Returns

Memory Concerns

See Also

slapi_entry_rdn_values_present()

Syntax

Parameters

Returns

slapi_entry_schema_check()

Syntax

Parameters

Returns

Memory Concerns

slapi_entry_schema_check_ext()

Syntax

Parameters

Returns

Memory Concerns

slapi_entry_set_dn()

Syntax

Parameters

Description

Memory Concerns

See Also

slapi_entry_set_sdn()

Syntax

Parameters

Description

Memory Concerns

slapi_entry_size()

Syntax

Parameters

Returns

Description

slapi_entry_syntax_check()

Syntax

Parameters

Returns

Memory Concerns

slapi_entry_vattr_find()

Syntax

Parameters

Returns

slapi_filter_compare()

Syntax

Parameters

Returns

Description

slapi_filter_free()

Syntax

Parameters

Memory Concerns

See Also

slapi_filter_get_attribute_type()

Syntax

Parameters

Returns

Description

Memory Concerns

See Also

slapi_filter_get_ava()

Syntax

Parameters

Returns

Description

Memory Concerns

See Also

slapi_filter_get_choice()

Syntax

Parameters

Returns

See Also

slapi_filter_get_subfilt()

Syntax

Parameters

Returns

Description

See Also

slapi_filter_get_type()

Syntax

Parameters

Returns

Description

Memory Concerns

See Also

slapi_filter_join()

Syntax

Parameters

Returns

Description

Memory Concerns

slapi_filter_list_first()

Syntax

Parameters

Returns

Description

Memory Concerns

See Also

slapi_filter_list_next()

Syntax

Parameters

Returns

Description

Memory Concerns

See Also

slapi_filter_test()

Syntax

Parameters

Returns

See Also

slapi_filter_test_ext()

Syntax

Parameters

Returns

Description

See Also

slapi_filter_test_simple()

Syntax

Parameters

Returns

Description

See Also

slapi_find_matching_paren()

Syntax

Parameters

Returns

Description

slapi_free_search_results_internal()

Syntax

Parameters

Description

slapi_free_suffix_list()

Syntax

Parameters

Description

slapi_get_first_backend()

Syntax

Parameters

Returns

Description

Memory Concerns

See Also

slapi_get_object_extension()

Syntax

Parameters

Description

See Also

slapi_get_next_backend()

Syntax

Parameters

Returns

Description

Memory Concerns

See Also

slapi_get_suffix_list()

Syntax

Parameters

Returns

Memory Concerns

slapi_get_supported_controls_copy()

Syntax

Parameters

Returns

Description

Memory Concerns

See Also

slapi_get_supported_extended_ops_copy()

Syntax

Parameters

Returns

Description

Memory Concerns

See Also

slapi_get_supported_saslmechanisms_copy()

Syntax

Returns

slapi_has8thBit()

Syntax

Parameters

Returns

slapi_is_rootdse()

Syntax

Parameters

Returns

slapi_is_root_suffix()

Syntax

Parameters

Returns

slapi_ldap_init()

Syntax

Parameters

Description

Returns

See Also

slapi_ldap_unbind()

Syntax

Parameters

Description

See Also

slapi_ldapmods_syntax_check()

Syntax

Parameters

Returns

Memory Concerns

slapi_lock_mutex()

Syntax

Parameters

Description

See Also

slapi_log_error_ex()

Syntax

Parameters

Description

Example

Returns

See Also

slapi_log_info_ex()

Syntax

Parameters

Description

Example

Returns

See Also

slapi_log_warning_ex()

Syntax

Parameters

Description

Example

Returns

See Also

slapi_matchingrule_free()

Syntax

Parameters

Description

See Also

slapi_matchingrule_get()

Syntax

Parameters

Description

Returns

See Also

slapi_matchingrule_new()

Syntax

Description

Returns

See Also

slapi_matchingrule_register()

Syntax

Parameters

Description

Returns

See Also

slapi_matchingrule_set()

Syntax

Parameters

Description

Returns

See Also

slapi_mod_add_value()

Syntax

Parameters

Description

slapi_mod_done()

Syntax

Parameters

Description

Memory Concerns

See Also

slapi_mod_dump()

Syntax

Parameters

Description

slapi_mod_free()

Syntax

Parameters

Description

See Also

slapi_mod_get_first_value()

Syntax

Parameters

Returns

Description

See Also

slapi_mod_get_ldapmod_byref()

Syntax

Parameters

Returns

Description

Memory Concerns

See Also

slapi_mod_get_ldapmod_passout()

Syntax

Parameters

Returns

Description

Memory Concerns

See Also

slapi_mod_get_next_value()

Syntax

Parameters

Returns

Description

See Also

slapi_mod_get_num_values()

Syntax

Parameters

Returns

slapi_mod_get_operation()

Syntax

Parameters

Returns

See Also

slapi_mod_get_type()

Syntax

Parameters

Returns

Description

See Also

slapi_mod_init()

Syntax

Parameters

Description

Memory Concerns

See Also

slapi_mod_init_byref()

Syntax

Parameters

Description

See Also

slapi_mod_init_byval()

Syntax

Parameters

See Also

slapi_mod_init_passin()

Syntax

Parameters

Description

Memory Concerns

See Also

slapi_mod_isvalid()

Syntax

Parameters

Returns

Description

slapi_mod_new()

Syntax

Parameters

Returns

Description

See Also

slapi_mod_remove_value()

Syntax

Parameters

See Also

slapi_mod_set_operation()

Syntax

Parameters

See Also

slapi_mod_set_type()

Syntax

Parameters

Description

See Also

slapi_moddn_get_newdn()

Syntax

Parameters

Returns

Description

Memory Concerns

16.  Function Reference, Part II

17.  Parameter Block Reference

A.  NameFinder Application

Prerequisite Software

Deploying NameFinder

Configuring NameFinder to Access Your Directory

Customizing NameFinder

Index

Functions by Functional Area

This section categorizes plug-in functions by functional area.

Table 15-1 Functions for Handling Parameter Blocks

Function
Description
Frees a parameter block from memory.
Gets the value from a parameter block.
Creates a new parameter block.
Sets the value of a parameter block.

Table 15-2 Functions for Handling Memory

Function
Description
Frees an existing array.
Makes a copy of an existing berval structure.
Makes a copy of an array of existing berval structures.
Allocates space for an array of a number of elements of a specified size.
Frees space allocated by the slapi_ch_malloc(), slapi_ch_realloc(), and slapi_ch_calloc() functions.
Frees an existing string.
Allocates space in memory.
Changes the size of a block of allocated memory.
Makes a copy of an existing string.

Table 15-3 Functions for Handling Access Control

Function
Description
Determines if the user requesting the current operation has the access rights to perform an operation on a given entry, attribute, or value.
Determines if a user has the rights to perform the specified modifications on an entry.
Determines whether or not the access control items (ACIs) on an entry are valid.

Table 15-4 Functions for Handling Attributes

Function
Description
Adds a value to an attribute.
Returns the base type of an attribute.
Duplicates an attribute.
Gets the first value of an attribute.
Determines if certain flags are set.
Frees an attribute.
Puts the values contained in an attribute into an array of berval structures.
Gets the flags associated with an attribute.
Puts the count of values of an attribute into an integer.
Searches for an attribute type and gives its OID string.
Gets the name of the attribute type.
Copies attribute values into a value set.
Initializes an empty attribute.
Creates a new attribute.
Gets the next value of an attribute.
Returns a copy of the normalized attribute types.
Compares two attributes.
Compares two attribute names to determine if they represent the same attribute.
Compares two attribute values.
Determines if an attribute contains a given value.

Table 15-5 Functions for Handling Basic Encoding Rule Values

Function
Description
Compares two berval structures.
Makes a copy of an existing berval structure.
Makes a copy of an array of existing berval structures.

Table 15-6 Functions for Handling Controls

Function
Description
Creates an LDAPControl structure based on a BerElement, an OID, and a criticality flag.
Retrieves an allocated array of object identifiers (OIDs) representing the controls supported by Directory Server.
Determines whether or not the specified object identification (OID) identifies a control that is present in a list of controls.
Makes an allocated copy of an LDAPControl.
Registers the specified control with the server. This function associates the control with an object identification (OID).

Table 15-7 Functions for Handling Distinguished Name Strings

Function
Description
Gets a copy of the DN of the parent of an entry.
Converts all characters in a DN to lowercase.
Determines if a DN is the suffix of the local database.
Determines if a DN is the suffix of the local database.
Determines if a DN is the parent of a specific DN.
Determines if a DN is the root DN for the local database.
Determines if a DN is equal to a specified suffix.
Converts a DN to canonical format.
Converts a DN to canonical format and all characters to lower case.
Normalizes part of a DN value.
Gets the DN of the parent of an entry.
Adds an RDN to a DN.

Table 15-8 Functions for Handling Entries

Function
Description
Generates an LDIF string description.
Generates an LDIF string descriptions with options.
Add components in an entry’s RDN.
Adds a string value to an attribute in an entry.
Adds a data value to an attribute in an entry.
Adds a data value to an attribute in an entry.
Allocates memory for a new entry.
Deletes an attribute from an entry.
Checks if an entry contains a specific attribute.
Gets the first value as a string.
Gets the first value as an integer.
Gets the first value as a long.
Gets the first value as an unsigned integer.
Gets the first value as an unsigned long.
Checks if an attribute in an entry contains a value.
Adds an array to the attribute values in an entry.
Replaces the attribute values in an entry.
Replaces the values of an attribute with a string.
Replaces the value of an attribute with an integer.
Replaces the value of an attribute with a long.
Replaces the value of an attribute with an unsigned integer.
Replaces the value of an attribute with an unsigned long.
Deletes a string from an attribute.
Removes a Slapi_Value array from an attribute.
Copies an entry, its DN, and its attributes.
Finds the first attribute in an entry.
Frees an entry from memory.
Gets the DN from an entry.
Returns the DN of an entry as a constant.
Returns the NDN of an entry.
Returns the Slapi_DN from an entry.
Returns a Slapi_DN from an entry as a constant.
Gets the unique ID from an entry.
Determines if the specified entry has child entries.
Initializes the values of an entry.
Determines whether the entry is that of a directory super user.
Adds an array of data values to an attribute in an entry.
Finds the next attribute in an entry.
Checks if values present in an entry’s RDN are also present as attribute values.
Determines if an entry complies with the schema for its object class.
Determines if a set of modifications to an entry comply with the schema.
Sets the DN of an entry.
Sets the Slapi_DN value in an entry.
Returns the size of an entry.
Determines if the attributes of an entry comply with attribute syntax rules.
Finds the specified virtual attribute in the entry.
Determines if an entry is the root DSE.
Converts an LDIF description into an entry.

Table 15-9 Functions for Handling Extended Operations

Function
Description
Gets a copy of the object IDs (OIDs) of the extended operations.

Table 15-10 Functions for Handling Filters

Function
Description
Determines if two filters are identical.
Frees the specified filter.
Gets the attribute type for all simple filter choices.
Gets the attribute type and the value from the filter.
Gets the type of the specified filter.
Gets the substring values from the filter.
Gets the attribute type specified in the filter.
Joins two specified filters.
Gets the first filter that makes up the specified filter.
Gets the next filter.
Determines if the specified entry matches a particular filter.
Determines if an entry matches a given filter.
Determines if an entry matches a filter.
Converts a string description of a search filter into a filter of the Slapi_Filter type.

Table 15-11 Functions for Handling Internal Operations

Function
Description
Prepare a Slapi_PBlock structure for an internal add operation involving a Slapi_Entry structure.
Adds an LDAP add operation based on a parameter block to add a new directory entry.
Prepare a Slapi_PBlock structure for an internal add operation.
Performs an LDAP delete operation based on a parameter block to remove a directory entry
Prepare a Slapi_PBlock structure for an internal delete operation.
Frees search results.
Performs an LDAP modify operation based on a parameter block to modify a directory entry.
Prepare a Slapi_PBlock structure for an internal modify operation.
Performs an LDAP modify RDN operation based on a parameter block to rename a directory entry.
Prepare a Slapi_PBlock structure for an internal modify RDN operation.
Performs an LDAP search operation based on a parameter block to search the directory.
Performs an internal search operation to read one entry
Performs an LDAP search operation based on a parameter block to search the directory.
Prepare a Slapi_PBlock structure for an internal search operation.

Table 15-12 Functions for Handling Matching Rules

Function
Description
Free a Slapi_MatchingRuleEntry after registering the matching rule.
Allocate a Slapi_MatchingRuleEntry structure.
Register a matching rule with the server.
Call a matching rule filter index function.
Get a pointer to the indexer factory function for a matching rule.

Table 15-13 Functions for Handling Modifications

Function
Description
Creates an array of LDAPMod from a Slapi_Entry.
Determines if the proposed modifications to an entry comply with attribute syntax rules.
Adds a value to a Slapi_Mod structure.
Frees internals of Slapi_Mod structure.
Dumps the contents of an LDAPMod to the server log.
Frees a Slapi_Mod structure.
Initializes a Slapi_Mod iterator and returns the first attribute value.
Gets a reference to the LDAPMod in a Slapi_Mod structure.
Retrieves the LDAPMod contained in a Slapi_Mod structure.
Increments the Slapi_Mod iterator and returns the next attribute value.
Gets the number of values in a Slapi_Mod structure.
Gets the operation type of Slapi_Mod structure.
Gets the attribute type of a Slapi_Mod structure.
Initializes a Slapi_Mod structure.
Initializes a Slapi_Mod structure that is a wrapper for an existing LDAPMod.
Initializes a Slapi_Mod structure with a copy of an LDAPMod.
Initializes a Slapi_Mod from an LDAPMod.
Determines whether a Slapi_Mod structure is valid.
Allocates a new Slapi_Mod structure.
Removes the value at the current Slapi_Mod iterator position.
Sets the operation type of a Slapi_Mod structure.
Sets the attribute type of a Slapi_Mod.
Creates a Slapi_Entry from an array of LDAPMod.
Appends a new mod with a single attribute value to Slapi_Mods structure.
Appends an LDAPMod to a Slapi_Mods structure.
Appends a new mod to a Slapi_Mods structure, with attribute values provided as an array of Slapi_Value.
Appends a new mod to a Slapi_Mods structure, with attribute values provided as an array of berval.
Appends a Slapi_Mod to a Slapi_Mods structure.
Appends a new mod to Slapi_Mods structure with a single attribute value provided as a string.
Frees internals of a Slapi_Mods structure.
Dumps the contents of a Slapi_Mods structure to the server log.
Frees a Slapi_Mods structure.
Initializes a Slapi_Mods iterator and returns the first LDAPMod.
Initializes a Slapi_Mods iterator and returns the first mod wrapped in a Slapi_Mods structure.
Gets a reference to the array of LDAPMod in a Slapi_Mods structure.
Retrieves the array of LDAPMod contained in a Slapi_Mods structure.
Increments the Slapi_Mods iterator and returns the next LDAPMod.
Increments the Slapi_Mods iterator and returns the next mod wrapped in a Slapi_Mods.
Gets the number of mods in a Slapi_Mods structure.
Initializes a Slapi_Mods.
Initializes a Slapi_Mods that is a wrapper for an existing array of LDAPMod.
Initializes a Slapi_Mods structure from an array of LDAPMod.
Inserts an LDAPMod into a Slapi_Mods structure after the current iterator position.
Inserts an LDAPMod anywhere in a Slapi_Mods.
Inserts an LDAPMod into a Slapi_Mods structure before the current iterator position.
Inserts a Slapi_Mod anywhere in a Slapi_Mods.
Inserts a Slapi_Mod into a Slapi_Mods structure before the current iterator position.
Decrements the Slapi_Mods current iterator position.
Allocates a new uninitialized Slapi_Mods structure.
Removes the mod at the current Slapi_Mods iterator position.
Removes the mod at the specified Slapi_Mods iterator position.

Table 15-14 Functions for Handling Operations

Function
Description
Determines if the client has abandoned the current operation.
Gets the type of a Slapi_Operation.

Table 15-15 Functions for Handling Passwords

Function
Description
Determines whether or not a specified password matches one of the hashed values of an attribute.
Determines whether or not a specified password matches one of the hashed values of an attribute.

Table 15-16 Functions for Handling Roles

Function
Description
Register a callback to determine the scope of a role.
Checks if the entry pointed to contains the role indicated.
Determine the scope of a role.

Table 15-17 Functions for Handling SASL Mechanisms

Function
Description
Gets an array of the names of the supported Simple Authentication and Security Layer (SASL) mechanisms.
Registers the specified Simple Authentication and Security Layer (SASL) mechanism with the server.

Table 15-18 Functions for Handling Slapi_Backend Structures

Function
Description
Checks if the backend that contains the specified DN exists.
Returns the name of the specified backend.
Indicates if the database associated with the backend is in read-only mode.
Returns the n+1 suffix associated with the specified backend.
Returns the type of the backend.
Checks if a flag is set in the backend configuration.
Verifies that the specified suffix matches a registered backend suffix.
Indicates if the changes applied to the backend should be logged in the change log.
Verifies if the backend is private.
Finds the backend that should be used to service the entry with the specified DN.
Find the backend used to service the database.
Returns a pointer of the backend structure of the first backend.
Returns a pointer to the next backend.
Checks if a suffix is a root suffix of the DIT.

Table 15-19 Functions for Handling Slapi_DN Structures

Function
Description
Builds the new DN of an entry.
Compares two DNs.
Copies a DN.
Clears a Slapi_DN structure.
Duplicates a Slapi_DN structure.
Frees a Slapi_DN structure.
Gets the DN of the parent within a specific backend.
Gets the DN from a Slapi_DN structure.
Gets the normalized DN of a Slapi_DN structure.
Gets the length of the normalized DN of a Slapi_DN structure.
Get the parent DN of a given Slapi_DN structure.
Gets the RDN from a DN.
Gets the suffix holding the entry specified by DN.
Checks if there is a DN value stored in a Slapi_DN structure.
Checks if a DN is the parent of the parent of a DN.
Checks if a DN is the parent of a DN.
Checks if a Slapi_DN structure contains a suffix of another.
Allocates new Slapi_DN structure.
Creates a new Slapi_DN structure pointing to an existing DN string.
Creates a new Slapi_DN structure copying an existing DN string.
Creates a new Slapi_DN structure pointing to a new copy of a DN string.
Creates a new Slapi_DN structure pointing to an existing normalized DN.
Creates a new Slapi_DN structure copying an existing normalized DN.
Checks if an entry is in the scope of a certain base DN.
Sets a DN value in a Slapi_DN structure pointing to an existing DN string.
Sets a DN value in a Slapi_DN structure copying an existing DN string.
Sets a DN value in a Slapi_DN structure pointing to a new copy of a DN string.
Sets a normalized DN in a Slapi_DN structure pointing to an existing normalized DN string.
Sets a normalized DN in a Slapi_DN structure copying an existing normalized DN string.
Sets a new parent in an entry.
Sets a new RDN for an entry.

Table 15-20 Functions for Handling Slapi_RDN Structures

Function
Description
Adds a new RDN to an existing RDN structure.
Compares two RDNs.
Checks if a Slapi_RDN structure holds any RDN matching a given type/value pair.
Checks if a Slapi_RDN structure contains any RDN matching a given type.
Clears a Slapi_RDN structure.
Frees a Slapi_RDN structure.
Gets the type/value pair of the first RDN.
Gets the index of the RDN.
Gets the position and the attribute value of the first RDN.
Gets the RDN type/value pair from the RDN.
Gets the number of RDN type/value pairs.
Gets the RDN from a Slapi_RDN structure.
Initializes a Slapi_RDN structure with NULL values.
Initializes a Slapi_RDN structure from an existing DN string.
Initializes a Slapi_RDN structure from an existing Slapi_RDN structure.
Initializes a Slapi_RDN structure from an existing Slapi_DN structure.
Checks if an RDN value is stored in a Slapi_RDN structure.
Creates a new Slapi_RDN structure.
Creates a new Slapi_RDN structure.
Creates a new Slapi_RDN structure.
Creates a new Slapi_RDN structure.
Determines if and RDN complies with attribute syntax rules.

Table 15-21 Functions for Handling Slapi_Value Structures

Function
Description
Compares two values.
Frees internals of a value.
Duplicates a value.
Frees a Slapi_Value structure from memory.
Gets the berval structure of the value.
Converts the value of an integer.
Gets the length of a value.
Converts a value into a long integer.
Returns the value as a string.
Converts the value into an unsigned integer.
Converts the value into an unsigned long.
Initializes a Slapi_Value structure with no values.
Initializes a Slapi_Value structure from the berval structure.
Initializes a Slapi_Value structure from a string.
Initializes a Slapi_Value structure with a value contained in a string.
Allocates a new Slapi_Value structure.
Allocates a new Slapi_Value structure from a berval structure.
Allocates a new Slapi_Value structure from a string.
Allocates a new Slapi_Value structure and initializes it from a string.
Allocates a new Slapi_Value from another Slapi_Value structure.
Sets the value.
Copies the value from a berval structure into a Slapi_Value structure.
Sets the integer value of a Slapi_Value structure.
Copies a string into the value.
Sets the value.
Copies the value of a Slapi_Value structure into another Slapi_Value structure.

Table 15-22 Functions for Handling Slapi_ValueSet Structures

Function
Description
Adds a Slapi_Value in the Slapi_ValueSet structure.
Returns the number of values contained in a Slapi_ValueSet structure.
Frees the values contained in the Slapi_ValueSet structure.
Finds the value in a value set by using the syntax of an attribute.
Gets the first value of a Slapi_ValueSet structure.
Frees the specified Slapi_ValueSet structure and its members from memory.
Resets a Slapi_ValueSet structure to no values.
Allocates a new Slapi_ValueSet structure.
Gets the next value from a Slapi_ValueSet structure.
Copies the values of Slapi_Mod structure into a Slapi_ValueSet structure.
Initializes a Slapi_ValueSet structure from another Slapi_ValueSet structure.

Table 15-23 Functions for Handling UTF-8 Strings

Function
Description
Checks if a string has an 8-bit character.
Compares two UTF-8 strings.
Compares a specified number of UTF-8 characters.
Verifies if a UTF-8 character is lower case.
Verifies if a single UTF-8 character is upper case.
Converts a UTF-8 string to lower case.
Converts a string made up of UTF-8 characters and converts it to upper case.
Converts a UTF-8 character to lower case.
Converts a lower case UTF-8 character to an upper case character.

Table 15-24 Functions for Writing Log Messages

Function
Description
Writes an error message to the server error log
Writes an informational message to the server error log
Writes a warning message to the server error log

Table 15-25 Functions for Handling Virtual Attributes

Function
Description
Determines if the value of the specified attribute type is virtually generated.
Compares attribute type and name in a given entry.
Frees the value set and type names.
Returns the values for an attribute type from an entry.

Table 15-26 Functions for Sending Entries, Referrals, and Results to Clients

Function
Description
Processes an entry’s LDAP v3 referrals.
Sends a result code back to the client.
Sends an entry found by a search back to the client.

Table 15-27 Function for Registering Plug-Ins

Function
Description
Register another plug-in.