summaryrefslogtreecommitdiffstats
path: root/src/mainloop.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainloop.h')
-rw-r--r--src/mainloop.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mainloop.h b/src/mainloop.h
index 3c6d7e37..3fe26fd0 100644
--- a/src/mainloop.h
+++ b/src/mainloop.h
@@ -13,7 +13,7 @@ enum mainloop_io_event {
enum mainloop_source_type {
MAINLOOP_SOURCE_TYPE_IO,
- MAINLOOP_SOURCE_TYPE_PREPARE,
+ MAINLOOP_SOURCE_TYPE_FIXED,
MAINLOOP_SOURCE_TYPE_IDLE,
MAINLOOP_SOURCE_TYPE_SIGNAL
};
@@ -26,7 +26,7 @@ int mainloop_run(struct mainloop *m);
void mainloop_quit(struct mainloop *m, int r);
struct mainloop_source* mainloop_source_new_io(struct mainloop*m, int fd, enum mainloop_io_event event, void (*callback)(struct mainloop_source*s, int fd, enum mainloop_io_event event, void *userdata), void *userdata);
-struct mainloop_source* mainloop_source_new_prepare(struct mainloop*m, void (*callback)(struct mainloop_source *s, void*userdata), void*userdata);
+struct mainloop_source* mainloop_source_new_fixed(struct mainloop*m, void (*callback)(struct mainloop_source *s, void*userdata), void*userdata);
struct mainloop_source* mainloop_source_new_idle(struct mainloop*m, void (*callback)(struct mainloop_source *s, void*userdata), void*userdata);
struct mainloop_source* mainloop_source_new_signal(struct mainloop*m, int sig, void (*callback)(struct mainloop_source *s, int sig, void*userdata), void*userdata);