summaryrefslogtreecommitdiff
path: root/src/utils/eloop.h
diff options
context:
space:
mode:
authorCy Schubert <cy@FreeBSD.org>2017-10-18 03:44:27 +0000
committerCy Schubert <cy@FreeBSD.org>2017-10-18 03:44:27 +0000
commit256810032c472505440606bd9c1c4f7dbf06b0a2 (patch)
treed019f4f1ae29b86cbd3e9e74f832689976a267cf /src/utils/eloop.h
parentb834757ea3bcd1bba3381ff7cab216458d8f7efb (diff)
Diffstat (limited to 'src/utils/eloop.h')
-rw-r--r--src/utils/eloop.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/utils/eloop.h b/src/utils/eloop.h
index 07b8c0dc33520..97af16f0130aa 100644
--- a/src/utils/eloop.h
+++ b/src/utils/eloop.h
@@ -313,6 +313,14 @@ int eloop_register_signal_reconfig(eloop_signal_handler handler,
void *user_data);
/**
+ * eloop_sock_requeue - Requeue sockets
+ *
+ * Requeue sockets after forking because some implementations require this,
+ * such as epoll and kqueue.
+ */
+int eloop_sock_requeue(void);
+
+/**
* eloop_run - Start the event loop
*
* Start the event loop and continue running as long as there are any