Thisfunction retrieves the value of type struct timespec associated with an indicated
attributename in a name-value record.
Parameters
nvr
Pointsto a name-value-record.
name
IN:Name for the tuple.
value
OUT:Updated with the struct timespec (time.h) value.
ReturnCodes
HCERR_OK
HCERR_BAD_REQUEST
HCERR_OOM
HCERR_INVALID_NVR
HCERR_ILLEGAL_ARGUMENT
HCERR_ILLEGAL_VALUE_FOR_METADATA
HCERR_NO_SUCH_ATTRIBUTE
Creatingand Converting Name-Value Records FromandTo String Arrays
Thefollowing functions are dened to create name-value records from string arrays and
convertname-value records to string arrays:
hc_nvr_create_from_string_arrays”on page 84
hc_nvr_convert_to_string_arrays”on page 86
hc_nvr_create_from_string_arrays
Createsname-value-record from string names and string values.
Synopsis
hcerr_t hc_nvr_create_from_string_arrays(hc_session_t *session,
hc_nvr_t **nvrp,
SynchronousCAPI Functions
SunStorageTek5800 System Client API Reference Manual • June 200884