diff options
author | Szczepan Zalega <szczepan@nitrokey.com> | 2017-10-10 18:25:32 +0200 |
---|---|---|
committer | Szczepan Zalega <szczepan@nitrokey.com> | 2017-10-10 18:25:32 +0200 |
commit | 343e4b1e6d53f042df84e951209b5a33b9a617c3 (patch) | |
tree | ba771942520fe6649d6e47a223814a260b9c5f31 /NK_C_API.h | |
parent | fa871ecba4333ffe9a96b0a662b9d77089cf69b7 (diff) | |
parent | be675e293fe94a4a6926125a61e67e92e8788d8a (diff) | |
download | libnitrokey-343e4b1e6d53f042df84e951209b5a33b9a617c3.tar.gz libnitrokey-343e4b1e6d53f042df84e951209b5a33b9a617c3.tar.bz2 |
Merge branch 'test_organize'
Improve test organization
Disable CRC check
Improve log
Diffstat (limited to 'NK_C_API.h')
-rw-r--r-- | NK_C_API.h | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -14,11 +14,17 @@ extern "C" { #endif /** * Set debug level of messages written on stderr - * @param state state=True - all messages, state=False - only errors level + * @param state state=True - most messages, state=False - only errors level */ NK_C_API void NK_set_debug(bool state); /** + * Set debug level of messages written on stderr + * @param level (int) 0-lowest verbosity, 5-highest verbosity + */ + NK_C_API void NK_set_debug_level(const int level); + + /** * Connect to device of given model. Currently library can be connected only to one device at once. * @param device_model char 'S': Nitrokey Storage, 'P': Nitrokey Pro * @return 1 if connected, 0 if wrong model or cannot connect |