Logout Function

Description

Logs out from a context or session.

Syntax

hasp_status_t HASP_CALLCONV hasp_logout(
               hasp_handle_t handle
                )

Parameters

handle

Handle for the session being terminated

Return Values

HASP_STATUS_OK

HASP_INV_HND

HASP_LOCAL_COMM_ERR

HASP_REMOTE_COMM_ERR

HASP_IDENTITY_RATE_LIMIT_EXCEEDED

Usage Notes

Use this function to end a connection to an API session object. Once logged out from a session, all memory allocated for the session is released.

Related Topics

Login Function

Login (With Scope) Function