Description
Thisfunction adds a metadata record for the specied OID and returns a system_record
descriptor.
Parameters
session
IN:The session for the host and port to talk to.
oid
IN:An identier of object data to which the metadata record is attached.
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_INVALID_OID
HCERR_ILLEGAL_ARGUMENT
HCERR_XML_BUFFER_OVERFLOW
hc_check_indexed_ez
Checksif the metadata for an object is present in the query engine, and inserts it if not.
Synopsis
hcerr_t hc_check_indexed_ez(hc_session_t *session,
hc_oid *oid,
int *resultp);
SynchronousCAPI Functions
Chapter3 • Sun StorageTek 5800 System C Client API 89