HP-UX Directory Server 8.1 plug-in reference

Table Of Contents
attributes. The following table summarizes the front end API functions that you can call to work
with attributes.
Call this function:To:
“slapi_attr_add_value()”Add an attribute value.
“slapi_attr_basetype()”Return the base type of an attribute.
“slapi_attr_dup()”Duplicate an attribute.
“slapi_attr_first_value()”Get the first value of an attribute.
“slapi_attr_flag_is_set()”Determine if certain flags are set.
“slapi_attr_free()”Free an attribute.
“slapi_attr_get_bervals_copy()”Put the values contained in an attribute into an array of
berval structures.
“slapi_attr_get_flags()”Get the flags associated with an attribute.
“slapi_attr_get_numvalues()”Put the count of values of an attribute into an integer.
slapi_attr_get_oid_copy()Search for an attribute type and give its OID string.
slapi_attr_get_type()Get the type of an attribute.
“slapi_attr_get_valueset()”Get the next value of an attribute.
“slapi_attr_next_value()”Determine the next value of an attribute.
“slapi_attr_set_valueset()”
Initialize a valueset in a Slapi_Attr structure from a
specified Slapi_ValueSet structure.
“slapi_attr_type2plugin()”Get information about the plug-in responsible for handling
an attribute type.
“slapi_attr_types_equivalent()”Compare two attribute names to determine if they
represent the same attribute.
“slapi_entry_first_attr()”Find the first attribute in an entry.
“slapi_entry_next_attr()”Iterate through the attributes in an entry.
“slapi_entry_attr_find()”Determine if an attribute contains a given value.
slapi_attr_value_find()Determine if an attribute has the specified value.
“slapi_attr_value_cmp()”Compare two attribute values.
“slapi_valueset_set_from_smod()”Add the changes in a modification to a valueset.
“slapi_valueset_set_valueset()”
Initialize a Slapi_ValueSet structure from another
Slapi_ValueSet structure.
See also “Slapi_Entry”
14.13 Slapi_Back end
Represents a back end operation in the server plug-in-in.
Syntax
#include "slapi-plugin.h"
typedef struct back end Slapi_Back end;
14.13 Slapi_Back end 125