aboutsummaryrefslogtreecommitdiff
path: root/NK_C_API.h
diff options
context:
space:
mode:
authorSzczepan Zalega <szczepan@nitrokey.com>2016-07-26 22:11:10 +0200
committerSzczepan Zalega <szczepan@nitrokey.com>2016-08-01 13:54:57 +0200
commit1018b7a7d8d7da124d706bc5d6679c523e5f1d0f (patch)
treef859f7d8cd59c14131f58c6bc4c34c41e00604b8 /NK_C_API.h
parent7d71398f4043c10c3870cb9deb2eae7bf1c5f0ee (diff)
downloadlibnitrokey-1018b7a7d8d7da124d706bc5d6679c523e5f1d0f.tar.gz
libnitrokey-1018b7a7d8d7da124d706bc5d6679c523e5f1d0f.tar.bz2
Handle password safe slots programmed status
Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
Diffstat (limited to 'NK_C_API.h')
-rw-r--r--NK_C_API.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/NK_C_API.h b/NK_C_API.h
index 54be406..804f6a7 100644
--- a/NK_C_API.h
+++ b/NK_C_API.h
@@ -32,7 +32,7 @@ extern uint8_t NK_get_user_retry_count();
extern uint8_t NK_get_admin_retry_count();
//password safe
extern int NK_enable_password_safe(const char *user_pin);
-extern int NK_get_password_safe_slot_status();
+extern uint8_t * NK_get_password_safe_slot_status();
extern const char *NK_get_password_safe_slot_name(uint8_t slot_number, const char *temporary_password);
extern const char *NK_get_password_safe_slot_login(uint8_t slot_number, const char *temporary_password);
extern const char *NK_get_password_safe_slot_password(uint8_t slot_number, const char *temporary_password);