Sun Microsystems 5800 Computer Drive User Manual


 
This function retrieves the value of type struct timespec associated with an indicated
attribute name in a name-value record.
Parameters
nvr
Points to a name-value-record.
name
IN: Name for the tuple.
value
OUT: Updated with the struct timespec (time.h) value.
Return Codes
HCERR_OK
HCERR_BAD_REQUEST
HCERR_OOM
HCERR_INVALID_NVR
HCERR_ILLEGAL_ARGUMENT
HCERR_ILLEGAL_VALUE_FOR_METADATA
HCERR_NO_SUCH_ATTRIBUTE
Creating and Converting Name-Value Records From
and To String Arrays
The following functions are dened to create name-value records from string arrays and
convert name-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
Creates name-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
SunStorageTek 5800SystemClientAPIReferenceManual June 200884