beautypg.com

Description, Parameters, Return codes – Sun Microsystems Sun StorageTek 5800 User Manual

Page 89: Hc_check_indexed_ez, Synopsis

background image

Description

This function adds a metadata record for the specified OID and returns a system_record
descriptor.

Parameters

session

IN: The session for the host and port to talk to.

oid

IN: An identifier 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.

Return Codes

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

Checks if 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);

Synchronous C API Functions

Chapter 3 • Sun StorageTek 5800 System C Client API

89