summaryrefslogtreecommitdiffstats
path: root/pimd/pim_signals.h
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@opensourcerouting.org>2016-11-13 08:02:23 +0100
committerDavid Lamparter <equinox@opensourcerouting.org>2017-03-07 23:07:20 +0100
commit4f04a76b717fc4881a547f582a02a4d06d356c47 (patch)
tree90951be570b6de3889da7c5358b1fe2f998d4acd /pimd/pim_signals.h
parentMerge pull request #257 from opensourcerouting/nhrpd (diff)
downloadfrr-4f04a76b717fc4881a547f582a02a4d06d356c47.tar.xz
frr-4f04a76b717fc4881a547f582a02a4d06d356c47.zip
*: add frr_init() infrastructure
Start centralising startup & option parsing into the library. FRR_DAEMON_INFO is a bit weird, but it will become useful later (e.g. for killing the ZLOG_* enum, and having the daemon name available) Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Diffstat (limited to 'pimd/pim_signals.h')
-rw-r--r--pimd/pim_signals.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/pimd/pim_signals.h b/pimd/pim_signals.h
index 7b25608c1..d7a4926d4 100644
--- a/pimd/pim_signals.h
+++ b/pimd/pim_signals.h
@@ -21,6 +21,7 @@
#ifndef PIM_SIGNALS_H
#define PIM_SIGNALS_H
-void pim_signals_init(void);
+#include "sigevent.h"
+extern struct quagga_signal_t pimd_signals[];
#endif /* PIM_SIGNALS_H */