HP-UX Directory Server 8.1 plug-in reference

Table Of Contents
24 Functions for managing entries
This chapter contains reference information on routines for managing entries.
Table 24-1 Entry routines
DescriptionFunction
Generates an LDIF string description.“slapi_entry2str()”
Generates an LDIF string descriptions with options.“slapi_entry2str_with_options()”
Add components in an entry's RDN.“slapi_entry_add_rdn_values()”
Adds a string value to an attribute in an entry.“slapi_entry_add_string()”
Adds a data value to an attribute in an entry.“slapi_entry_add_value()”
Adds an array of data values to an attribute in an entry.slapi_entry_add_values_sv()
Adds a data value to an attribute in an entry.“slapi_entry_add_valueset()”
Allocates memory for a new entry.“slapi_entry_alloc()”
Applies an array of LDAPMod to a Slapi_Entry.
“slapi_entry_apply_mods()”
Deletes an attribute from an entry.“slapi_entry_attr_delete()”
Checks if an entry contains a specific attribute.“slapi_entry_attr_find()”
Gets a given attribute value as a boolean.“slapi_entry_attr_get_bool()”
Gets the first value as a string.“slapi_entry_attr_get_charptr()”
Gets the values of a multi-valued attribute of an entry.“slapi_entry_attr_get_charray()”
Gets the first value as an integer.“slapi_entry_attr_get_int()”
Gets the first value as a long.“slapi_entry_attr_get_long()”
Gets the first value as an unsigned integer.“slapi_entry_attr_get_uint()”
Gets the first value as an unsigned long.“slapi_entry_attr_get_ulong()”
Checks if an attribute in an entry contains a value.slapi_entry_attr_has_syntax_value()
Adds an array to the attribute values in an entry.slapi_entry_attr_merge_sv()
Replaces the values of an attribute.slapi_entry_attr_replace_sv()
Replaces the values of an attribute with a string.“slapi_entry_attr_set_charptr()”
Replaces the value of an attribute with an integer.“slapi_entry_attr_set_int()”
Replaces the value of an attribute with a long.“slapi_entry_attr_set_long()”
Replaces the value of an attribute with an unsigned integer.“slapi_entry_attr_set_uint()”
Replaces the value of an attribute with an unsigned long.“slapi_entry_attr_set_ulong()”
Deletes a string from an attribute.“slapi_entry_delete_string()”
Removes a Slapi_Value array from an attribute.
slapi_entry_delete_values_sv()
Copies an entry, its DN, and its attributes.“slapi_entry_dup()”
Finds the first attribute in an entry.“slapi_entry_first_attr()”
Frees an entry from memory.“slapi_entry_free()”
Gets the DN from an entry.“slapi_entry_get_dn()”
Returns the DN of an entry as a constant.“slapi_entry_get_dn_const()”
211