1gnutls_global_set_log_function(3) gnutls gnutls_global_set_log_function(3)
2
3
4
6 gnutls_global_set_log_function - API function
7
9 #include <gnutls/gnutls.h>
10
11 void gnutls_global_set_log_function(gnutls_log_func log_func);
12
14 gnutls_log_func log_func
15 it's a log function
16
18 This is the function where you set the logging function gnutls is going
19 to use. This function only accepts a character array. Normally you
20 may not use this function since it is only used for debugging purposes.
21
22 gnutls_log_func is of the form, void (*gnutls_log_func)( int level,
23 const char*);
24
26 Report bugs to <bug-gnutls@gnu.org>. GnuTLS home page:
27 http://www.gnu.org/software/gnutls/ General help using GNU software:
28 http://www.gnu.org/gethelp/
29
31 Copyright © 2008 Free Software Foundation.
32 Copying and distribution of this file, with or without modification,
33 are permitted in any medium without royalty provided the copyright
34 notice and this notice are preserved.
35
37 The full documentation for gnutls is maintained as a Texinfo manual.
38 If the info and gnutls programs are properly installed at your site,
39 the command
40
41 info gnutls
42
43 should give you access to the complete manual.
44
45
46
47gnutls 2.12.6.1 gnutls_global_set_log_function(3)