diff options
author | Szczepan Zalega <szczepan@nitrokey.com> | 2016-07-23 17:18:20 +0200 |
---|---|---|
committer | Szczepan Zalega <szczepan@nitrokey.com> | 2016-08-01 13:54:57 +0200 |
commit | 93803ac591d0e0e0d05d5a552cd2d5fb4a62fb19 (patch) | |
tree | 65c4f57618fd078d2a5de084deb6bac5eec0594b /NK_C_API.h | |
parent | 1b03ab0377bfd106225e16bbd2baee3048b266b4 (diff) | |
download | libnitrokey-93803ac591d0e0e0d05d5a552cd2d5fb4a62fb19.tar.gz libnitrokey-93803ac591d0e0e0d05d5a552cd2d5fb4a62fb19.tar.bz2 |
Handle errors with exceptions
Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
Diffstat (limited to 'NK_C_API.h')
-rw-r--r-- | NK_C_API.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -21,7 +21,8 @@ extern int NK_write_totp_slot(uint8_t slot_number, const char *slot_name, const extern uint32_t NK_get_hotp_code(uint8_t slot_number); extern uint32_t NK_get_totp_code(uint8_t slot_number, uint64_t challenge, uint64_t last_totp_time, uint8_t last_interval); extern int NK_totp_set_time(uint64_t time); -extern int NK_totp_mark_time(); +extern int NK_totp_get_time(); +extern uint8_t NK_get_last_command_status(); } |