aboutsummaryrefslogtreecommitdiff
path: root/NK_C_API.h
diff options
context:
space:
mode:
authorSzczepan Zalega <szczepan@nitrokey.com>2016-07-25 17:38:15 +0200
committerSzczepan Zalega <szczepan@nitrokey.com>2016-08-01 13:54:57 +0200
commit8f4fb5d6320241a27d4d8c93d819daba40c58867 (patch)
tree04d4aa7565550516756cee7687c93796892be73b /NK_C_API.h
parent7c4012b7074252d8a5cc3b462705e171112a85bf (diff)
downloadlibnitrokey-8f4fb5d6320241a27d4d8c93d819daba40c58867.tar.gz
libnitrokey-8f4fb5d6320241a27d4d8c93d819daba40c58867.tar.bz2
Handle changing user and admin PINs
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, 2 insertions, 0 deletions
diff --git a/NK_C_API.h b/NK_C_API.h
index 0c91095..a692a26 100644
--- a/NK_C_API.h
+++ b/NK_C_API.h
@@ -23,6 +23,8 @@ extern uint32_t NK_get_totp_code(uint8_t slot_number, uint64_t challenge, uint64
extern int NK_totp_set_time(uint64_t time);
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);
}