HP-UX Directory Server 8.1 plug-in reference

Table Of Contents
33 Functions for LDAPMod manipulation
This chapter contains reference information on LDAPMod manipulation routines.
Table 33-1 LDAPMod manipulation routines
DescriptionFunction
Creates an array of LDAPMod from a Slapi_Entry.
“slapi_entry2mods()”
Adds a value to a Slapi_Mod structure.
“slapi_mod_add_value()”
Frees internals of Slapi_Mod structure.
“slapi_mod_done()”
Dumps the contents of an LDAPMod to the server log.
“slapi_mod_dump()”
Frees a Slapi_Mod structure.
“slapi_mod_free()”
Initializes a Slapi_Mod iterator and returns the first attribute value.
“slapi_mod_get_first_value()”
Gets a reference to the LDAPMod in a Slapi_Mod structure.
“slapi_mod_get_ldapmod_byref()”
Retrieves the LDAPMod contained in a Slapi_Mod structure.
“slapi_mod_get_ldapmod_passout()”
Increments the Slapi_Mod iterator and returns the next attribute value.
“slapi_mod_get_next_value()”
Gets the number of values in a Slapi_Mod structure.
“slapi_mod_get_num_values()”
Gets the operation type of Slapi_Mod structure.
“slapi_mod_get_operation()”
Gets the attribute type of a Slapi_Mod structure.
“slapi_mod_get_type()”
Initializes a Slapi_Mod structure.
“slapi_mod_init()”
Initializes a Slapi_Mod structure that is a wrapper for an existing LDAPMod.
“slapi_mod_init_byref()”
Initializes a Slapi_Mod structure with a copy of an LDAPMod.
“slapi_mod_init_byval()”
Initializes a Slapi_Mod from an LDAPMod.
“slapi_mod_init_passin()”
Initializes the given smod with the given LDAP operation and attribute type.
“slapi_mod_init_valueset_byval()”
Determines whether a Slapi_Mod structure is valid.
“slapi_mod_isvalid()”
Allocates a new Slapi_Mod structure.
“slapi_mod_new()”
Removes the value at the current Slapi_Mod iterator position.
“slapi_mod_remove_value()”
Sets the operation type of a Slapi_Mod structure.
“slapi_mod_set_operation()”
Sets the attribute type of a Slapi_Mod.
“slapi_mod_set_type()”
Creates a Slapi_Entry from an array of LDAPMod.
“slapi_mods2entry()”
Appends a new mod with a single attribute value to Slapi_Mods structure.
“slapi_mods_add()”
Appends an LDAPMod to a Slapi_Mods structure.
“slapi_mods_add_ldapmod()”
Appends a new mod to a Slapi_Mods structure with attribute values provided
as an array of Slapi_Value.
“slapi_mods_add_mod_values()”
Appends a new mod to a Slapi_Mods structure,with attribute values provided
as an array of berval.
“slapi_mods_add_modbvps()”
Appends a new smod to a Slapi_Mods structure.
“slapi_mods_add_smod()”
Appends a new mod to Slapi_Mods structure with a single attribute value
provided as a string.
“slapi_mods_add_string()”
Frees internals of a Slapi_Mods structure.
“slapi_mods_done()”
Dumps the contents of a Slapi_Mods structure to the server log.
“slapi_mods_dump()”
265