From e9c165399bc87e9d283845efdd2d667061b1e323 Mon Sep 17 00:00:00 2001 From: Szczepan Zalega Date: Fri, 5 Aug 2016 19:50:46 +0200 Subject: Autodetect inserted stick and connect to it Signed-off-by: Szczepan Zalega --- include/NitrokeyManager.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include') 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 void change_PIN_general(char *current_PIN, char *new_PIN); + + }; } -- cgit v1.2.3