Functions for Handling Values494 Netscape Directory Server Plug-In Programmer’s Guide • August 2002Functions for Handling ValuesThis section contains reference information on value routines.d Pointer to the upper case version of s. The memory for this mustbe allocated by the caller before calling the function.ssz Returns the length in bytes of the input character.dsz Returns the length in bytes of the output character.Table 15-28 Value RoutinesFunction Descriptionslapi_value_compare() Compares two values.slapi_value_dup() Duplicates a value.slapi_value_free() Frees a Slapi_Value structure from memory.slapi_value_get_berval() Gets the berval structure of the value.slapi_value_get_int() Converts the value of an integer.slapi_value_get_length() Gets the length of a value.slapi_value_get_long() Converts a value into a long integer.slapi_value_get_string() Returns the value as a string.slapi_value_get_uint() Converts the value into an unsigned integer.slapi_value_get_ulong() Converts the value into an unsigned long.slapi_value_init() Initializes a Slapi_Value structure with no values.slapi_value_init_berval() Initializes a Slapi_Value structure from the berval structure.slapi_value_init_string() Initializes a Slapi_Value structure from a string.slapi_value_init_string_passin() Initializes a Slapi_Value structure with a value contained in a string.slapi_value_new() Allocates a new Slapi_Value structure.slapi_value_new_berval() Allocates a new Slapi_Value structure from a berval structure.slapi_value_new_string() Allocates a new Slapi_Value structure from a string.slapi_value_new_string_passin() Allocates a new Slapi_Value structure and initializes it from astring.slapi_value_new_value() Allocates anew Slapi_Value from another Slapi_Value structure.