summaryrefslogtreecommitdiff
path: root/lib/sigevent.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/sigevent.h')
-rw-r--r--lib/sigevent.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/sigevent.h b/lib/sigevent.h
index 6296736a..20012aff 100644
--- a/lib/sigevent.h
+++ b/lib/sigevent.h
@@ -23,6 +23,7 @@
#ifndef _QUAGGA_SIGNAL_H
#define _QUAGGA_SIGNAL_H
+
#include <thread.h>
#define QUAGGA_SIGNAL_TIMER_INTERVAL 2L
@@ -46,4 +47,7 @@ struct quagga_signal_t
void signal_init (struct thread_master *m, int sigc,
struct quagga_signal_t *signals);
+/* check whether there are signals to handle, process any found */
+int quagga_sigevent_process (void);
+
#endif /* _QUAGGA_SIGNAL_H */