aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/event_loop.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/event_loop.h')
-rw-r--r--src/event_loop.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/event_loop.h b/src/event_loop.h
index 0e13b48..c08e84d 100644
--- a/src/event_loop.h
+++ b/src/event_loop.h
@@ -15,10 +15,9 @@ void event_loop_destroy(struct event_loop *);
int event_loop_run(struct event_loop *);
-#define EVENT_LOOP_REMOVE 1
-
typedef int (*event_handler)(struct event_loop *, int fd, short revents, void *arg);
int event_loop_add(struct event_loop *, int fd, short events, event_handler, void *arg);
+int event_loop_add_once(struct event_loop *, int fd, short events, event_handler, void *arg);
#endif