aboutsummaryrefslogtreecommitdiff
path: root/libnitrokey
diff options
context:
space:
mode:
authorRobin Krahl <me@robin-krahl.de>2019-01-13 12:03:43 +0100
committerRobin Krahl <me@robin-krahl.de>2019-01-13 12:03:43 +0100
commit71d4ecc04c23342f207e7f1133ea8824a1dcdd16 (patch)
tree2c51eeb8fee8fc928cd1f32040b0140088507b50 /libnitrokey
parent4a7ce051bd4004fb62f1c7022d92efa2ce42b6ab (diff)
downloadlibnitrokey-71d4ecc04c23342f207e7f1133ea8824a1dcdd16.tar.gz
libnitrokey-71d4ecc04c23342f207e7f1133ea8824a1dcdd16.tar.bz2
Change Nitrokey::list_devices return type to use DeviceInfo
In the previous commit, we changed the return value of Device::enumerate to std::vector<DeviceInfo>. Now we change Nitrokey::list_devices to also return DeviceInfo instances.
Diffstat (limited to 'libnitrokey')
-rw-r--r--libnitrokey/NitrokeyManager.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libnitrokey/NitrokeyManager.h b/libnitrokey/NitrokeyManager.h
index d6e5df4..6908143 100644
--- a/libnitrokey/NitrokeyManager.h
+++ b/libnitrokey/NitrokeyManager.h
@@ -80,7 +80,7 @@ char * strndup(const char* str, size_t maxlen);
bool get_time(uint64_t time = 0);
bool erase_totp_slot(uint8_t slot_number, const char *temporary_password);
bool erase_hotp_slot(uint8_t slot_number, const char *temporary_password);
- std::vector<std::string> list_devices();
+ std::vector<DeviceInfo> list_devices();
std::vector<std::string> list_devices_by_cpuID();
/**