aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSzczepan Zalega <szczepan@nitrokey.com>2016-08-05 19:50:46 +0200
committerSzczepan Zalega <szczepan@nitrokey.com>2016-08-05 20:32:45 +0200
commite9c165399bc87e9d283845efdd2d667061b1e323 (patch)
tree8ce834d70805fad5bde2ed8a2aec3b9beba3b37d /include
parent2675570622b808aec77be240b4663e29598049ef (diff)
downloadlibnitrokey-e9c165399bc87e9d283845efdd2d667061b1e323.tar.gz
libnitrokey-e9c165399bc87e9d283845efdd2d667061b1e323.tar.bz2
Autodetect inserted stick and connect to it
Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
Diffstat (limited to 'include')
-rw-r--r--include/NitrokeyManager.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/NitrokeyManager.h b/include/NitrokeyManager.h
index 7bc2673..be367fd 100644
--- a/include/NitrokeyManager.h
+++ b/include/NitrokeyManager.h
@@ -35,6 +35,7 @@ namespace nitrokey {
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(const char *device_model);
+ bool connect();
bool disconnect();
void set_debug(bool state);
string get_status();
@@ -97,6 +98,8 @@ namespace nitrokey {
template <typename ProCommand, PasswordKind StoKind>
void change_PIN_general(char *current_PIN, char *new_PIN);
+
+
};
}