diff options
author | Szczepan Zalega <szczepan@nitrokey.com> | 2016-09-08 16:05:11 +0200 |
---|---|---|
committer | Szczepan Zalega <szczepan@nitrokey.com> | 2016-09-08 16:48:36 +0200 |
commit | bcbb54f49fad3f4bb3e8e6aca081d9d300e74d2b (patch) | |
tree | e11e0a7458d7aae9e484722550c60292b3a6d9ba /NK_C_API.h | |
parent | 49de98994f234e93cc37e2f01d2927a05880a7e7 (diff) | |
download | libnitrokey-bcbb54f49fad3f4bb3e8e6aca081d9d300e74d2b.tar.gz libnitrokey-bcbb54f49fad3f4bb3e8e6aca081d9d300e74d2b.tar.bz2 |
Function for getting device's serial number in hex. Fixes #33
Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
Diffstat (limited to 'NK_C_API.h')
-rw-r--r-- | NK_C_API.h | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -40,6 +40,12 @@ extern int NK_logout(); extern const char * NK_status(); /** + * Return the device's serial number string in hex. + * @return string device's serial number in hex + */ +extern const char * NK_device_serial_number(); + +/** * Get last command processing status. Useful for commands which returns the results of their own and could not return * an error code. * @return previous command processing error code |