summaryrefslogtreecommitdiff
path: root/lib/system.h
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2011-05-26 08:07:22 +0200
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2011-05-26 08:09:05 +0200
commit6a125fea8d4ddb545a6c88dbab04b6ac26c183ab (patch)
tree93631fefc10a86007a6f08e2d3440a37179f3662 /lib/system.h
parentece04d625ec441abebd535fc8a96a6e80e9da754 (diff)
downloadgnutls-6a125fea8d4ddb545a6c88dbab04b6ac26c183ab.tar.gz
Added gnutls_global_set_time_function() to allow overriding
the default system time() function.
Diffstat (limited to 'lib/system.h')
-rw-r--r--lib/system.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/system.h b/lib/system.h
index 849090ee3a..7029c9c6b1 100644
--- a/lib/system.h
+++ b/lib/system.h
@@ -36,6 +36,7 @@ ssize_t system_read_peek (gnutls_transport_ptr_t ptr, void *data,
int _gnutls_atfork (void (*prepare) (void), void (*parent) (void),
void (*child) (void));
+extern gnutls_time_func gnutls_time;
static inline void millisleep(unsigned int ms)
{