Returns the current archive object associated with this session.
hcerr_t hc_session_get_archive(hc_session_t *session, hc_archive_t **archivep);
This function returns the current archive object associated with this session.
The archive object is not needed for the synchronous C API, but is made available for interfacing with the lower-level (nondocumented) API.
session
IN: The session object.
archivep
OUT: Updated to be the archive object associated with the current session.
HCERR_OK HCERR_BAD_REQUEST HCERR_OOM HCERR_NULL_SESSION HCERR_INVALID_SESSION