Sun StorageTek 5800 System Client API Reference Manual

hc_session_get_platform_result

Returns low-level error codes associated with the current session.

Synopsis

     hcerr_t hc_session_get_platform_result(hc_session_t *session, 
          int32_t *connect_errnop, 
          int32_t *platform_resultp);

Description

This function returns low-level error codes associated with the current session.


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