Parameters
session
IN:Pointer to the session.
oid
IN:The specied OID.
ReturnCodes
HCERR_OK
HCERR_BAD_REQUEST
HCERR_OOM
HCERR_NULL_SESSION
HCERR_INVALID_SESSION
HCERR_INVALID_OID
TranslatingError and Type Codes
Thefollowing functions are dened 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
Translatesan error code into a string.
Synopsis
char *hc_decode_hcerr(hcerr_t res);
Description
Translatesan error code into a string.
Parameter
res
IN:The error code returned by a function.
QueryingWitha Prepared Statement
SunStorageTek5800 System Client API Reference Manual • June 2008112