diff options
author | Szczepan Zalega <szczepan@nitrokey.com> | 2016-07-27 10:32:30 +0200 |
---|---|---|
committer | Szczepan Zalega <szczepan@nitrokey.com> | 2016-08-01 13:54:57 +0200 |
commit | 8c5b24092faf90672523e60e6eee12a83539ce11 (patch) | |
tree | 804244fd1cacc670b8fc5e58264a24d27e269084 /NK_C_API.h | |
parent | ae8f2596895ba27539409b2399d985b2c613e2d7 (diff) | |
download | libnitrokey-8c5b24092faf90672523e60e6eee12a83539ce11.tar.gz libnitrokey-8c5b24092faf90672523e60e6eee12a83539ce11.tar.bz2 |
Handle write config command
Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
Diffstat (limited to 'NK_C_API.h')
-rw-r--r-- | NK_C_API.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -20,6 +20,7 @@ extern int NK_first_authenticate(const char* admin_password, const char* admin_t extern int NK_factory_reset(const char* admin_password); extern int NK_build_aes_key(const char* admin_password); extern int NK_unlock_user_password(const char* admin_password); +extern int NK_write_config(bool numlock, bool capslock, bool scrolllock, bool enable_user_password, bool delete_user_password, const char *admin_temporary_password); //otp extern const char * NK_get_totp_slot_name(uint8_t slot_number); extern const char * NK_get_hotp_slot_name(uint8_t slot_number); |