diff src/lib/ioloop.h @ 3798:be1bac1dd005 HEAD

Export current_ioloop globally.
author Timo Sirainen <tss@iki.fi>
date Sat, 31 Dec 2005 18:59:11 +0200
parents c4c1b538d8d0
children 55df57c028d4
line wrap: on
line diff
--- a/src/lib/ioloop.h	Sat Dec 31 16:20:54 2005 +0200
+++ b/src/lib/ioloop.h	Sat Dec 31 18:59:11 2005 +0200
@@ -26,6 +26,8 @@
 extern struct timeval ioloop_timeval;
 extern struct timezone ioloop_timezone;
 
+extern struct ioloop *current_ioloop;
+
 /* I/O listeners - you can create different handlers for IO_READ and IO_WRITE,
    but make sure you don't create multiple handlers of same type, it's not
    checked and removing one will stop the other from working as well.