1gnutls_global_set_time_function(3) gnutls gnutls_global_set_time_function(3)
2
3
4
6 gnutls_global_set_time_function - API function
7
9 #include <gnutls/gnutls.h>
10
11 void gnutls_global_set_time_function(gnutls_time_func time_func);
12
14 gnutls_time_func time_func
15 it's the system time function
16
18 This is the function where you can override the default system time
19 function.
20
21 gnutls_time_func is of the form, time_t (*gnutls_time_func)( time*);
22
24 Report bugs to <bug-gnutls@gnu.org>. GnuTLS home page:
25 http://www.gnu.org/software/gnutls/ General help using GNU software:
26 http://www.gnu.org/gethelp/
27
29 Copyright © 2008 Free Software Foundation.
30 Copying and distribution of this file, with or without modification,
31 are permitted in any medium without royalty provided the copyright
32 notice and this notice are preserved.
33
35 The full documentation for gnutls is maintained as a Texinfo manual.
36 If the info and gnutls programs are properly installed at your site,
37 the command
38
39 info gnutls
40
41 should give you access to the complete manual.
42
43
44
45gnutls 2.12.6.1 gnutls_global_set_time_function(3)