summaryrefslogtreecommitdiff
path: root/src/server/ev.h
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2021-03-28 01:50:36 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2021-03-28 01:50:36 +0000
commite2959c22c7309836d6f5dba2f0db7b293b860ad8 (patch)
treea26cefd2a36f6682e302bed8840642da0c6c64a8 /src/server/ev.h
parentba3bcbb86ea0177349bcd021559347248d6ab10a (diff)
downloads6-rc-e2959c22c7309836d6f5dba2f0db7b293b860ad8.tar.xz
A few pieces of the future s6-rcd server
Diffstat (limited to 'src/server/ev.h')
-rw-r--r--src/server/ev.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/server/ev.h b/src/server/ev.h
new file mode 100644
index 0000000..c267a40
--- /dev/null
+++ b/src/server/ev.h
@@ -0,0 +1,19 @@
+/* ISC license. */
+
+#ifndef S6RCD_EV_H
+#define S6RCD_EV_H
+
+#include <s6-rc/event.h>
+
+
+ /* Event queue */
+
+extern int ev_enqueue (s6rc_event_t const *) ;
+extern int ev_pop (s6rc_event_t *) ;
+
+
+ /* Event processor: the static part */
+
+extern void ev_handle (s6rc_event_t const *) ;
+
+#endif