
Synchronous C API Functions
hc_nvr_convert_to_string_arrays
Converts
Synopsis
hcerr_t hc_nvr_convert_to_string_arrays(hc_nvr_t *nvr,
char ***namesp,
char ***valuesp,
int *nitemsp);
Description
This function converts a
When the conversion is finished, each string in the names and values tables should be freed with the designated deallocator (for example, free), as well as the names and values tables themselves.
Note – Any time there is a conversion from a double type to or from a string type, there might be a loss of precision.
Parameters
nvr
IN: The
namesp
OUT: Updated to point to an array of string names.
valuesp
OUT: Updated to point to an array of string values.
nitemsp
OUT: Updated to the number of active elements in the paired arrays.
Return Codes
HCERR_OK
HCERR_BAD_REQUEST
86 | Sun StorageTek 5800 System Client API Reference Manual • June 2008 |