diff options
author | Rob Austein <sra@hactrn.net> | 2015-12-24 13:55:55 -0500 |
---|---|---|
committer | Rob Austein <sra@hactrn.net> | 2015-12-24 13:55:55 -0500 |
commit | 1a7b3c31095762afebeab1cc1717259c0e3c5cc9 (patch) | |
tree | 77753c21bf6510ccadcb96684004a9808f6f9ae6 /hal.h | |
parent | 7dfad9f2b40f32fb2f2d38c4637ae9faad4228d9 (diff) |
hal_rpc_logout_all(), hal_rpc_is_logged_in().
Diffstat (limited to 'hal.h')
-rw-r--r-- | hal.h | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -124,6 +124,7 @@ DEFINE_HAL_ERROR(HAL_ERROR_NO_KEY_SLOTS_AVAILABLE, "No key slots available") \ DEFINE_HAL_ERROR(HAL_ERROR_PIN_INCORRECT, "PIN incorrect") \ DEFINE_HAL_ERROR(HAL_ERROR_NO_CLIENT_SLOTS_AVAILABLE, "No client slots available") \ + DEFINE_HAL_ERROR(HAL_ERROR_FORBIDDEN, "Forbidden") \ END_OF_HAL_ERROR_LIST /* Marker to forestall silly line continuation errors */ @@ -554,6 +555,11 @@ extern hal_error_t hal_rpc_login(const hal_client_handle_t client, extern hal_error_t hal_rpc_logout(const hal_client_handle_t client); +extern hal_error_t hal_rpc_logout_all(void); + +extern hal_error_t hal_rpc_is_logged_in(const hal_client_handle_t client, + const hal_user_t user); + /* * Get random bytes. */ |