aboutsummaryrefslogtreecommitdiff
path: root/NK_C_API.h
diff options
context:
space:
mode:
authorSzczepan Zalega <szczepan@nitrokey.com>2019-06-13 13:56:25 +0200
committerSzczepan Zalega <szczepan@nitrokey.com>2019-06-13 15:00:41 +0200
commit35d73ac92b054d4b24b4fad3676001f29ee184a4 (patch)
treecfc1d64d86fb3f92981a2a97dfb7c9f1466d426d /NK_C_API.h
parent749434cab529ef689dacfc368b9dea101a40dba8 (diff)
downloadlibnitrokey-35d73ac92b054d4b24b4fad3676001f29ee184a4.tar.gz
libnitrokey-35d73ac92b054d4b24b4fad3676001f29ee184a4.tar.bz2
Add calls to commands in C API
Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
Diffstat (limited to 'NK_C_API.h')
-rw-r--r--NK_C_API.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/NK_C_API.h b/NK_C_API.h
index 79d80c0..7376c9f 100644
--- a/NK_C_API.h
+++ b/NK_C_API.h
@@ -977,6 +977,15 @@ extern "C" {
*/
NK_C_API int NK_wink();
+
+ /**
+ * FIXME DOC
+ * @param update_password
+ * @return
+ */
+ NK_C_API int NK_enable_firmware_update_pro(const char* update_password);
+ NK_C_API int NK_change_firmware_password_pro(const char *current_firmware_password, const char *new_firmware_password);
+
#ifdef __cplusplus
}
#endif