summaryrefslogtreecommitdiff
path: root/include/NitrokeyManager.h
diff options
context:
space:
mode:
authorSzczepan Zalega <szczepan@nitrokey.com>2016-11-03 17:02:02 +0100
committerSzczepan Zalega <szczepan@nitrokey.com>2016-11-26 18:56:29 +0100
commit8cb4f03c841e7035af1893f260db5690cf6b4aa5 (patch)
treedafe45f4b40668013ae5d9bae180874715894662 /include/NitrokeyManager.h
parentfe36daa38ab1995c8c7fc6470d06b8595efd2385 (diff)
downloadlibnitrokey-8cb4f03c841e7035af1893f260db5690cf6b4aa5.tar.gz
libnitrokey-8cb4f03c841e7035af1893f260db5690cf6b4aa5.tar.bz2
Document Storage methods in C API
Use uint8_t instead of int where appropriate Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
Diffstat (limited to 'include/NitrokeyManager.h')
-rw-r--r--include/NitrokeyManager.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/NitrokeyManager.h b/include/NitrokeyManager.h
index 2d5859f..11c2be4 100644
--- a/include/NitrokeyManager.h
+++ b/include/NitrokeyManager.h
@@ -98,7 +98,8 @@ namespace nitrokey {
void change_update_password(const char *current_update_password, const char *new_update_password);
- void create_hidden_volume(int slot_nr, int start_percent, int end_percent, const char *hidden_volume_password);
+ void create_hidden_volume(uint8_t slot_nr, uint8_t start_percent, uint8_t end_percent,
+ const char *hidden_volume_password);
void send_startup(uint64_t seconds_from_epoch);