Mercurial > dovecot > original-hg > dovecot-1.2
diff src/lib/ioloop.h @ 3863:55df57c028d4 HEAD
Added "bool" type and changed all ints that were used as booleans to bool.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Fri, 13 Jan 2006 22:25:57 +0200 |
parents | be1bac1dd005 |
children | 928229f8b3e6 |
line wrap: on
line diff
--- a/src/lib/ioloop.h Fri Jan 13 17:11:47 2006 +0200 +++ b/src/lib/ioloop.h Fri Jan 13 22:25:57 2006 +0200 @@ -47,7 +47,7 @@ void io_loop_run(struct ioloop *ioloop); void io_loop_stop(struct ioloop *ioloop); /* safe to run in signal handler */ -int io_loop_is_running(struct ioloop *ioloop); +bool io_loop_is_running(struct ioloop *ioloop); /* call these if you wish to run the iteration only once */ void io_loop_set_running(struct ioloop *ioloop);