diff options
author | Robin Krahl <me@robin-krahl.de> | 2019-01-13 12:03:53 +0100 |
---|---|---|
committer | Robin Krahl <me@robin-krahl.de> | 2019-01-13 12:03:53 +0100 |
commit | 6772dcf38e275b2ab9f962a87e86f89541c13a92 (patch) | |
tree | 9586d42ef6cd7b78f7f24851ec0801c4c0484c90 /libnitrokey | |
parent | 71d4ecc04c23342f207e7f1133ea8824a1dcdd16 (diff) | |
download | libnitrokey-6772dcf38e275b2ab9f962a87e86f89541c13a92.tar.gz libnitrokey-6772dcf38e275b2ab9f962a87e86f89541c13a92.tar.bz2 |
Extract vendor and product IDs into constants
Diffstat (limited to 'libnitrokey')
-rw-r--r-- | libnitrokey/device.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/libnitrokey/device.h b/libnitrokey/device.h index 1a84402..477640f 100644 --- a/libnitrokey/device.h +++ b/libnitrokey/device.h @@ -51,6 +51,19 @@ enum class DeviceModel{ }; /** + * The USB vendor ID for Nitrokey devices. + */ +extern const uint16_t NITROKEY_VID; +/** + * The USB product ID for the Nitrokey Pro. + */ +extern const uint16_t NITROKEY_PRO_PID; +/** + * The USB product ID for the Nitrokey Storage. + */ +extern const uint16_t NITROKEY_STORAGE_PID; + +/** * Information about a connected device. * * This struct contains the information about a connected device returned by |