summaryrefslogtreecommitdiffstats
path: root/lib/event.h
diff options
context:
space:
mode:
authorMartin Mares <mj@ucw.cz>1999-11-17 13:01:11 +0100
committerMartin Mares <mj@ucw.cz>1999-11-17 13:01:11 +0100
commit84a7d7f77c05578d9ebfff90672e73f021999d25 (patch)
tree30e57fa3bf32b130ae88faf51f30e1159a138ffa /lib/event.h
parentffb59d243a350ed525850e864b38af0ecb0ffea5 (diff)
downloadbird-84a7d7f77c05578d9ebfff90672e73f021999d25.tar
bird-84a7d7f77c05578d9ebfff90672e73f021999d25.zip
ev_run() now returns whether the event has been requeued or not.
ev_run_list() now returns number of events which remain in the list.
Diffstat (limited to 'lib/event.h')
-rw-r--r--lib/event.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/event.h b/lib/event.h
index 0856fbb..32a9a3f 100644
--- a/lib/event.h
+++ b/lib/event.h
@@ -23,11 +23,11 @@ typedef list event_list;
extern event_list global_event_list;
event *ev_new(pool *);
-void ev_run(event *);
+int ev_run(event *);
#define ev_init_list(el) init_list(el)
void ev_enqueue(event_list *, event *);
void ev_schedule(event *);
void ev_postpone(event *);
-void ev_run_list(event_list *);
+int ev_run_list(event_list *);
#endif