summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSzczepan Zalega <szczepan@nitrokey.com>2016-07-28 12:24:45 +0200
committerSzczepan Zalega <szczepan@nitrokey.com>2016-08-01 13:54:57 +0200
commit08fa8c559b42fb07bdadd62369802c348b896607 (patch)
tree7a94fe1810d7468ccc5b4d82ecbc549dd0b6c933 /include
parentbdb25a0c1feb5709d718f408d6c839dbc9b55738 (diff)
downloadlibnitrokey-08fa8c559b42fb07bdadd62369802c348b896607.tar.gz
libnitrokey-08fa8c559b42fb07bdadd62369802c348b896607.tar.bz2
Choose device model during connection
Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
Diffstat (limited to 'include')
-rw-r--r--include/NitrokeyManager.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/NitrokeyManager.h b/include/NitrokeyManager.h
index 3a86597..3acb229 100644
--- a/include/NitrokeyManager.h
+++ b/include/NitrokeyManager.h
@@ -30,7 +30,7 @@ namespace nitrokey {
bool get_time();
bool erase_totp_slot(uint8_t slot_number, const char *temporary_password);
bool erase_hotp_slot(uint8_t slot_number, const char *temporary_password);
- bool connect();
+ bool connect(const char *device_model);
bool disconnect();
void set_debug(bool state);
string get_status();