summaryrefslogtreecommitdiff
path: root/watchfrr/watchfrr.h
diff options
context:
space:
mode:
Diffstat (limited to 'watchfrr/watchfrr.h')
-rw-r--r--watchfrr/watchfrr.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/watchfrr/watchfrr.h b/watchfrr/watchfrr.h
index 53b92bd833..1a1c19056f 100644
--- a/watchfrr/watchfrr.h
+++ b/watchfrr/watchfrr.h
@@ -25,5 +25,12 @@ extern void watchfrr_vty_init(void);
extern pid_t integrated_write_pid;
extern void integrated_write_sigchld(int status);
+/*
+ * Check if all daemons we are monitoring are in the DAEMON_UP state.
+ *
+ * Returns:
+ * True if they are all DAEMON_UP, false otherwise.
+ */
+extern bool check_all_up(void);
#endif /* FRR_WATCHFRR_H */