diff options
author | Szczepan Zalega <szczepan@nitrokey.com> | 2018-07-07 20:57:14 +0200 |
---|---|---|
committer | Szczepan Zalega <szczepan@nitrokey.com> | 2018-07-07 20:57:14 +0200 |
commit | 17ba7cbbfd6ea5c92d5a5df460751c599e65c9f3 (patch) | |
tree | e9bc2db40d17b72e63980e77746120931950ce4b /NK_C_API.h | |
parent | 09eaadc5d3d2a13a094210eedafee023774914c6 (diff) | |
download | libnitrokey-17ba7cbbfd6ea5c92d5a5df460751c599e65c9f3.tar.gz libnitrokey-17ba7cbbfd6ea5c92d5a5df460751c599e65c9f3.tar.bz2 |
Add general DEPRECATED macro for marking deprecated functions.
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, 3 insertions, 0 deletions
@@ -25,6 +25,8 @@ #include <stdbool.h> #include <stdint.h> +#include "deprecated.h" + #ifdef _MSC_VER #define NK_C_API __declspec(dllexport) #else @@ -418,6 +420,7 @@ extern "C" { NK_C_API int NK_totp_set_time_soft(uint64_t time); // NK_totp_get_time is deprecated -- use NK_totp_set_time_soft instead + DEPRECATED NK_C_API int NK_totp_get_time(); //passwords |