Sun StorageTek 5800 System Client API Reference Manual

hc_session_free

Releases the session object.

Synopsis

    hcerr_t hc_session_free (hc_session_t *session);

Description

This function releases the session object and recovers handles and memory for one connection.

Parameters

session

IN: The session object to free.

Return Codes

     HCERR_OK
     HCERR_BAD_REQUEST
     HCERR_OOM
     HCERR_NULL_SESSION
     HCERR_INVALID_SESSION