]> git.proxmox.com Git - mirror_frr.git/blobdiff - watchfrr/watchfrr.h
bgp_rfapi_basic_sanity: wait for clean exit
[mirror_frr.git] / watchfrr / watchfrr.h
index e7aba643d636833d3ad3ce51fe7ac3febf5a8773..ee16846a1dc9029244e44b85a5d3bb6d3fce43c7 100644 (file)
 #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 */