Sun Microsystems 5800 Computer Drive User Manual


 
Parameters
session
IN: Pointer to the session.
oid
IN: The specied 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 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
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.
QueryingWithaPreparedStatement
SunStorageTek 5800SystemClientAPIReferenceManual June 2008112