summaryrefslogtreecommitdiff
path: root/lib/event.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/event.h')
-rw-r--r--lib/event.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/event.h b/lib/event.h
index 03735c3f..5f3b78d8 100644
--- a/lib/event.h
+++ b/lib/event.h
@@ -21,14 +21,17 @@ typedef struct event {
typedef list event_list;
extern event_list global_event_list;
+extern event_list global_work_list;
event *ev_new(pool *);
void ev_run(event *);
#define ev_init_list(el) init_list(el)
void ev_enqueue(event_list *, event *);
void ev_schedule(event *);
+void ev_schedule_work(event *);
void ev_postpone(event *);
int ev_run_list(event_list *);
+int ev_run_list_limited(event_list *, uint);
static inline int
ev_active(event *e)