Parameters
session
IN:The session for the host and port to talk to.
data_source_reader
IN:The source of data to be stored. See read_from_data_source” on page 49.
cookie
IN:An opaque data structure (cookie) to be provided to data_source_reader. For example,
thiscould be a le descriptor.
nvr
IN:Pointer to a name-value record with the metadata.
system_record
OUT:Returned descriptor of a stored metadata record.
ReturnCodes
HCERR_OK
HCERR_BAD_REQUEST
HCERR_OOM
HCERR_NULL_SESSION
HCERR_INVALID_SESSION
HCERR_INVALID_NVR
HCERR_ILLEGAL_ARGUMENT
HCERR_NO_SUCH_TYPE
HCERR_XML_BUFFER_OVERFLOW
hc_store_metadata_ez
Addsa metadata record for the specied OID.
Synopsis
hcerr_t hc_store_metadata_ez(hc_session_t *session,
hc_oid *oid,
hc_nvr_t *nvr,
hc_system_record_t *system_record);
SynchronousCAPI Functions
SunStorageTek5800 System Client API Reference Manual • June 200888