diff options
author | Szczepan Zalega <szczepan@nitrokey.com> | 2016-07-26 10:59:24 +0200 |
---|---|---|
committer | Szczepan Zalega <szczepan@nitrokey.com> | 2016-08-01 13:54:57 +0200 |
commit | 8a938be4ffa97490d89206cc1fd079a057cfc65c (patch) | |
tree | 5f2794b8858551eb8cd9f1574d1682567674a04e /NK_C_API.h | |
parent | b37e5990aa409689e5d6162776583616ac03e0ac (diff) | |
download | libnitrokey-8a938be4ffa97490d89206cc1fd079a057cfc65c.tar.gz libnitrokey-8a938be4ffa97490d89206cc1fd079a057cfc65c.tar.bz2 |
Manage retry counts of user and admin passwords
Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
Diffstat (limited to 'NK_C_API.h')
-rw-r--r-- | NK_C_API.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -25,6 +25,8 @@ extern int NK_totp_get_time(); extern uint8_t NK_get_last_command_status(); extern int NK_change_admin_PIN(char *current_PIN, char *new_PIN); extern int NK_change_user_PIN(char *current_PIN, char *new_PIN); +extern uint8_t NK_get_user_retry_count(); +extern uint8_t NK_get_admin_retry_count(); extern int NK_enable_password_safe(const char *user_pin); extern int NK_get_password_safe_slot_status(); } |