diff options
author | Szczepan Zalega <szczepan@nitrokey.com> | 2020-07-07 16:36:37 +0200 |
---|---|---|
committer | Szczepan Zalega <szczepan@nitrokey.com> | 2020-09-19 12:16:10 +0200 |
commit | a3571946002bf7e748613df5006c2f5a6564c1e4 (patch) | |
tree | cf76f16c69d0387ed0dfd7f7e6b0c1f4f905c5db /libnitrokey | |
parent | 89a73d88c9026b6347bea113896d24e419c4370c (diff) | |
download | libnitrokey-a3571946002bf7e748613df5006c2f5a6564c1e4.tar.gz libnitrokey-a3571946002bf7e748613df5006c2f5a6564c1e4.tar.bz2 |
Deprecate old setters for UV ro/rw attribute
Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
Diffstat (limited to 'libnitrokey')
-rw-r--r-- | libnitrokey/NitrokeyManager.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libnitrokey/NitrokeyManager.h b/libnitrokey/NitrokeyManager.h index 163a799..619b1ad 100644 --- a/libnitrokey/NitrokeyManager.h +++ b/libnitrokey/NitrokeyManager.h @@ -158,6 +158,7 @@ char * strndup(const char* str, size_t maxlen); * Does nothing otherwise. * @param user_pin User PIN */ + [[deprecated("set_unencrypted_read_only is deprecated. Use set_unencrypted_read_only_admin instead.")]] void set_unencrypted_read_only(const char *user_pin); /** @@ -174,6 +175,7 @@ char * strndup(const char* str, size_t maxlen); * Does nothing otherwise. * @param user_pin User PIN */ + [[deprecated("set_unencrypted_read_write is deprecated. Use set_unencrypted_read_write_admin instead")]] void set_unencrypted_read_write(const char *user_pin); /** |