summaryrefslogtreecommitdiff
path: root/NK_C_API.h
diff options
context:
space:
mode:
authorSzczepan Zalega <szczepan@nitrokey.com>2018-03-09 11:13:58 +0100
committerSzczepan Zalega <szczepan@nitrokey.com>2018-03-09 14:24:14 +0100
commit88a37af33515e904d0d032602f64bfd213e89581 (patch)
tree573520b1fc5ca4d6d38e7be0a0d652db38d1fee2 /NK_C_API.h
parenta45058113557780cb0cff32a61f39a3f36a96f33 (diff)
downloadlibnitrokey-88a37af33515e904d0d032602f64bfd213e89581.tar.gz
libnitrokey-88a37af33515e904d0d032602f64bfd213e89581.tar.bz2
C API wrapper for NK_set_unencrypted_volume_rorw_pin_type_user
Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
Diffstat (limited to 'NK_C_API.h')
-rw-r--r--NK_C_API.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/NK_C_API.h b/NK_C_API.h
index 3778ad0..27730c9 100644
--- a/NK_C_API.h
+++ b/NK_C_API.h
@@ -371,6 +371,12 @@ extern "C" {
*/
NK_C_API int NK_get_minor_firmware_version();
+ /**
+ * Function to determine unencrypted volume PIN type
+ * @param minor_firmware_version
+ * @return Returns 1, if set unencrypted volume ro/rw pin type is User, 0 otherwise.
+ */
+ NK_C_API int NK_set_unencrypted_volume_rorw_pin_type_user();
/**