diff options
author | Szczepan Zalega <szczepan@nitrokey.com> | 2016-07-27 12:31:08 +0200 |
---|---|---|
committer | Szczepan Zalega <szczepan@nitrokey.com> | 2016-08-01 13:54:57 +0200 |
commit | 547c02f0c5d4195a3efe454b9e98c0d0a84d739c (patch) | |
tree | 567ba270839328cc8fe6444a8dca130bd30d20be /NK_C_API.h | |
parent | d26f8fc73e2a15314c44688e372f9d4613dcfdd8 (diff) | |
download | libnitrokey-547c02f0c5d4195a3efe454b9e98c0d0a84d739c.tar.gz libnitrokey-547c02f0c5d4195a3efe454b9e98c0d0a84d739c.tar.bz2 |
Test read/write config
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
@@ -21,6 +21,7 @@ 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); +extern uint8_t* NK_read_config(); //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); |