HP-UX Directory Server 8.1 plug-in reference

Table Of Contents
Call this function:To:
“slapi_entry_alloc()”Allocate memory for an entry structure.
“slapi_entry_apply_mods()”
Applies an array of LDAPMod to a Slapi_Entry.
“slapi_entry_attr_delete()”Delete an attribute from an entry.
“slapi_entry_attr_find()”Check if an entry contains a specific attribute.
“slapi_entry_attr_get_charptr()”Get the first value as a string.
“slapi_entry_attr_get_charray()”Get the values of a multi-valued attribute of an entry.
“slapi_entry_attr_get_int()”Get the first value as an integer.
“slapi_entry_attr_get_long()”Get the first value as a long.
“slapi_entry_attr_get_uint()”Get the first value as an unsigned integer.
“slapi_entry_attr_get_ulong()”Get the first value as an unsigned long.
slapi_entry_attr_has_syntax_value()Check if an attribute in an entry contains a value.
slapi_entry_attr_merge_sv()Add an array to the attribute values in an entry.
slapi_entry_attr_replace_sv()Replace the values of an attribute with a string.
“slapi_entry_attr_set_charptr()”Set the first value as a string.
“slapi_entry_attr_set_int()”Set the first value as an integer.
“slapi_entry_attr_set_long()”Set the first value as a long.
“slapi_entry_attr_set_uint()”Set the first value as an unsigned integer.
“slapi_entry_attr_set_ulong()”Set the first value as an unsigned long.
“slapi_entry_delete_string()”Delete a string from an attribute.
slapi_entry_delete_values_sv()
Remove a Slapi_Value array from an attribute.
“slapi_entry_dup()”Copy an entry, its DN, and its attributes.
“slapi_entry_first_attr()”Find the first attribute in an entry.
“slapi_entry_free()”Free an entry from memory.
“slapi_entry_get_dn()”Get the DN from an entry.
“slapi_entry_get_dn_const()”Return the DN of an entry as a constant.
“slapi_entry_get_ndn()”Return the normalized distinguished name (NDN) of an
entry.
“slapi_entry_get_sdn()”
Return the Slapi_DN from an entry.
“slapi_entry_get_sdn_const()”
Return a Slapi_DN from an entry as a constant.
“slapi_entry_get_uniqueid()”Get the unique ID from an entry.
“slapi_entry_has_children()”Determine if the specified entry has child entries.
“slapi_entry_init()”Initialize the values of an entry.
“slapi_entry_merge_values_sv()”Add an array of data values to an attribute in an entry.
“slapi_entry_next_attr()”Find the next attribute in an entry.
“slapi_entry_rdn_values_present()”Check if values present in an entry's RDN are also present
as attribute values.
“slapi_entry_schema_check()”Determine if an entry complies with the schema for its
object class.
132 Data type and structure reference