response_codep
OUT:Updated to be the HTTP response code.
errstr
IN:Updated to be the error returned in the response body if the response code is not 200 (OK).
errstrshould not be written to by the application (that is, it is read only), and will persist until
thenext request to the 5800 system server or until hc_session_free” on page 55 is called,
whichevercomes rst.
ReturnCodes
HCERR_OK
HCERR_BAD_REQUEST
HCERR_OOM
HCERR_NULL_SESSION
HCERR_INVALID_SESSION
hc_session_get_schema
Getsschema object associated with this session.
Synopsis
hcerr_t hc_session_get_schema (hc_session_t *session,
hc_schema_t **schemap);
Description
Thisfunction returns the current schema object associated with this session.
Parameters
session
IN:The session object.
schemap
OUT:Updated to be the schema associated with the current session. schemap shouldnot be
modiedby the application and will persist until the next call to hc_session_free”on
page55, at which time it will be implicitly released.
SynchronousCAPI Functions
SunStorageTek5800 System Client API Reference Manual June 200856