HP-UX Directory Server 8.1 plug-in reference

Table Of Contents
The following table summarizes the front end API functions that you can call to work with
directory entry values.
Call this function:To:
“slapi_value_compare()”Compare a value.
Duplicate a value.
“slapi_value_free()”
Free a Slapi_Value structure from memory.
“slapi_value_get_berval()”
Get the berval structure of the value.
“slapi_value_get_int()”Convert the value of an integer.
“slapi_value_get_length()”Get the length of a value.
“slapi_value_get_long()”Get the actual length of the value.
“slapi_value_get_long()”Convert a value into a long integer.
“slapi_value_get_string()”Return the value as a string. The value returned may not
be null-terminated.
“slapi_value_get_uint()”Convert the value into an unsigned integer.
“slapi_value_get_ulong()”Convert the value into an unsigned long.
“slapi_value_init()”
Initialize a Slapi_Value structure with no values.
“slapi_value_init_berval()”
Initialize a Slapi_Value structure from the berval
structure.
“slapi_value_init_string()”
Initialize a Slapi_Value structure from a string.
“slapi_value_init_string_passin()”
Initialize a Slapi_Value structure with a value contained
in a string.
“slapi_value_new()”
Allocate a new Slapi_Value structure.
“slapi_value_new_berval()”
Allocate a new Slapi_Value structure from a berval
structure.
“slapi_value_new_string()”
Allocate a new Slapi_Value structure from a string.
“slapi_value_new_string_passin()”
Allocate a new Slapi_Value structure and initializes it
from a string.
“slapi_value_new_value()”
Allocate a new Slapi_Value from another
Slapi_Value structure.
“slapi_value_set()”Set the value.
“slapi_value_get_berval()”
Copy the value from a berval structure into a
Slapi_Value structure.
“slapi_value_set_int()”
Set the integer value of a Slapi_Value structure.
“slapi_value_set_string()”Copy a string into thevalue.
“slapi_value_set_string_passin()”Set the value.
“slapi_value_set_value()”
Copy the value of a Slapi_Value structure into another
Slapi_Value structure.
See also “Slapi_ValueSet”
14.35 Slapi_ValueSet
Represents a set of Slapi_Value (or a list of Slapi_Value).
14.35 Slapi_ValueSet 143