
Synchronous C API Functions
hc_session_get_platform_result
Returns
Synopsis
hcerr_t hc_session_get_platform_result(hc_session_t *session,
int32_t *connect_errnop,
int32_t *platform_resultp);
Description
This function returns
Note – The values returned by hc_session_get_platform_result will not be updated properly after calls to the functions hc_retrieve_ez and hc_delete_ez.
Parameters
session
IN: The session object.
connect_errnop
OUT: Updated to be the operating system’s errno value associated with the last connect operation on the current session.
platform_resultp
OUT: Updated to be the error code reported by the underlying HTTP library (for example, the Curl library).
Return Codes
HCERR_OK
HCERR_BAD_REQUEST
HCERR_OOM
HCERR_NULL_SESSION
HCERR_INVALID_SESSION
58 | Sun StorageTek 5800 System Client API Reference Manual • June 2008 |