diff options
author | Szczepan Zalega <szczepan@nitrokey.com> | 2017-02-17 09:27:38 +0100 |
---|---|---|
committer | Szczepan Zalega <szczepan@nitrokey.com> | 2017-03-11 15:41:47 +0100 |
commit | 8617a13371d087b1eb67bd066926038d289ab331 (patch) | |
tree | 1efc49c7f9c40e1661b0a7875e68587b13156135 /include | |
parent | bf63972b2f9c90180d491f5ad314702fa7b8051f (diff) | |
download | libnitrokey-8617a13371d087b1eb67bd066926038d289ab331.tar.gz libnitrokey-8617a13371d087b1eb67bd066926038d289ab331.tar.bz2 |
Handle SD card related functions
Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/NitrokeyManager.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/include/NitrokeyManager.h b/include/NitrokeyManager.h index b89db63..2200955 100644 --- a/include/NitrokeyManager.h +++ b/include/NitrokeyManager.h @@ -106,6 +106,8 @@ namespace nitrokey { void fill_SD_card_with_random_data(const char *admin_pin); + int get_SD_card_size(); + void change_update_password(const char *current_update_password, const char *new_update_password); void create_hidden_volume(uint8_t slot_nr, uint8_t start_percent, uint8_t end_percent, @@ -117,8 +119,10 @@ namespace nitrokey { stick20::DeviceConfigurationResponsePacket::ResponsePayload get_status_storage(); const char *get_SD_usage_data_as_string(); + std::pair<uint8_t,uint8_t> get_SD_usage_data(); + - int get_progress_bar_value(); + int get_progress_bar_value(); ~NitrokeyManager(); bool is_authorization_command_supported(); @@ -159,6 +163,7 @@ namespace nitrokey { const char *temporary_password) const; bool _disconnect_no_lock(); + }; } |