[dovecot-cvs] dovecot/src/lib ioloop.c, 1.28, 1.29 ioloop.h, 1.13, 1.14

cras at dovecot.org cras at dovecot.org
Sat Dec 31 18:59:14 EET 2005


Update of /var/lib/cvs/dovecot/src/lib
In directory talvi:/tmp/cvs-serv21790

Modified Files:
	ioloop.c ioloop.h 
Log Message:
Export current_ioloop globally.



Index: ioloop.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/lib/ioloop.c,v
retrieving revision 1.28
retrieving revision 1.29
diff -u -d -r1.28 -r1.29
--- ioloop.c	14 Aug 2005 21:54:20 -0000	1.28
+++ ioloop.c	31 Dec 2005 16:59:11 -0000	1.29
@@ -13,7 +13,7 @@
 struct timeval ioloop_timeval;
 struct timezone ioloop_timezone;
 
-static struct ioloop *current_ioloop = NULL;
+struct ioloop *current_ioloop = NULL;
 
 struct io *io_add(int fd, enum io_condition condition,
 		  io_callback_t *callback, void *context)

Index: ioloop.h
===================================================================
RCS file: /var/lib/cvs/dovecot/src/lib/ioloop.h,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -d -r1.13 -r1.14
--- ioloop.h	25 Sep 2005 10:19:51 -0000	1.13
+++ ioloop.h	31 Dec 2005 16:59:11 -0000	1.14
@@ -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.



More information about the dovecot-cvs mailing list