1pskc_global_log(3) libpskc pskc_global_log(3)
2
3
4
6 pskc_global_log - API function
7
9 #include <pskc.h>
10
11 void pskc_global_log(pskc_log_func log_func);
12
14 pskc_log_func log_func
15 new global pskc_log_func log function to use.
16
18 Enable global debug logging function. The function will be invoked by
19 the library when it wishes to print various debug information.
20
21 pskc_log_func is of the form, void (*pskc_log_func) (const char *msg);
22
23 The application may use this to provide a debug mode with trace infor‐
24 mation for the user.
25
27 Report bugs to <oath-toolkit-help@nongnu.org>. libpskc home page:
28 https://www.nongnu.org/oath-toolkit/ General help using GNU software:
29 http://www.gnu.org/gethelp/
30
32 Copyright © 2012-2020 Simon Josefsson.
33 Copying and distribution of this file, with or without modification,
34 are permitted in any medium without royalty provided the copyright no‐
35 tice and this notice are preserved.
36
37
38
39libpskc 2.6.7 pskc_global_log(3)