Sun Microsystems 5800 Computer Drive User Manual


 
HCERR_OOM
HCERR_NULL_SESSION
HCERR_INVALID_SESSION
HCERR_INVALID_OID
hc_retrieve_metadata_ez
Retrieves a metadata record for the specied OID.
Synopsis
hcerr_t hc_retrieve_metadata_ez (hc_session_t *session,
hc_oid *oid,
hv_nvr_t **nvrp);
Description
This function retrieves a metadata record for the specied OID. When it has nished, you
should call
hc_nvr_free on page 66 to free the name-value-record.
Parameters
session
IN: The session for the host and port to talk to.
oid
IN: An identier of the metadata record to retrieve.
nvrp
OUT: Updated with a pointer to a dynamically allocated name-value record with the metadata.
Return Codes
HCERR_OK
HCERR_BAD_REQUEST
HCERR_OOM
HCERR_NULL_SESSION
HCERR_INVALID_SESSION
HCERR_INVALID_OID
SynchronousCAPI Functions
SunStorageTek 5800SystemClientAPIReferenceManual June 200892