From 547c02f0c5d4195a3efe454b9e98c0d0a84d739c Mon Sep 17 00:00:00 2001 From: Szczepan Zalega Date: Wed, 27 Jul 2016 12:31:08 +0200 Subject: Test read/write config Signed-off-by: Szczepan Zalega --- NK_C_API.h | 1 + 1 file changed, 1 insertion(+) (limited to 'NK_C_API.h') diff --git a/NK_C_API.h b/NK_C_API.h index 6058071..1aeeab6 100644 --- a/NK_C_API.h +++ b/NK_C_API.h @@ -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); -- cgit v1.2.1