aboutsummaryrefslogtreecommitdiff
path: root/include/NitrokeyManager.h
diff options
context:
space:
mode:
authorSzczepan Zalega <szczepan@nitrokey.com>2017-12-12 14:21:19 +0100
committerSzczepan Zalega <szczepan@nitrokey.com>2018-02-23 15:42:37 +0100
commit0b0898f2b5d88738aa8f49ce6b9ba98db1c775f7 (patch)
tree54559cb5aa6472df184e50d4bd98677dbf451af1 /include/NitrokeyManager.h
parent99ac7ee964bf273708441a3012ba89c7729ceadb (diff)
downloadlibnitrokey-0b0898f2b5d88738aa8f49ce6b9ba98db1c775f7.tar.gz
libnitrokey-0b0898f2b5d88738aa8f49ce6b9ba98db1c775f7.tar.bz2
Support execution of the 0.49 commands
Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
Diffstat (limited to 'include/NitrokeyManager.h')
-rw-r--r--include/NitrokeyManager.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/NitrokeyManager.h b/include/NitrokeyManager.h
index 9a1686c..8f47860 100644
--- a/include/NitrokeyManager.h
+++ b/include/NitrokeyManager.h
@@ -202,6 +202,14 @@ char * strndup(const char* str, size_t maxlen);
void set_loglevel(Loglevel loglevel);
void set_loglevel(int loglevel);
+
+ void set_encrypted_volume_read_only(const char *admin_pin);
+
+ void set_encrypted_volume_read_write(const char *admin_pin);
+
+ void set_unencrypted_read_write_admin_pin(const char *admin_pin);
+
+ void set_unencrypted_read_only_admin_pin(const char *admin_pin);
};
}