#ifndef FRR_WATCHFRR_H
#define FRR_WATCHFRR_H
+#include "lib/memory.h"
+
+DECLARE_MGROUP(WATCHFRR)
+
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 */
+#endif /* FRR_WATCHFRR_H */