Querying With a Prepared Statement

Parameters

session

IN: Pointer to the session.

oid

IN: The specified OID.

Return Codes

HCERR_OK

HCERR_BAD_REQUEST

HCERR_OOM

HCERR_NULL_SESSION

HCERR_INVALID_SESSION

HCERR_INVALID_OID

Translating Error and Type Codes

The following functions are defined for translating error codes and type codes into strings:

“hc_decode_hcerr” on page 112

“hc_decode_hc_type” on page 113

hc_decode_hcerr

Translates an error code into a string.

Synopsis

char *hc_decode_hcerr(hcerr_t res);

Description

Translates an error code into a string.

Parameter

res

IN: The error code returned by a function.

112

Sun StorageTek 5800 System Client API Reference Manual • June 2008

Page 112
Image 112
Sun Microsystems 5800 manual Translating Error and Type Codes, Hcdecodehcerr