1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Common definitions for watchfrr API socket.
5 * Copyright (C) 2016 David Lamparter for NetDEF, Inc.
11 #include "lib/memory.h"
13 DECLARE_MGROUP(WATCHFRR
);
16 * This is the name of the pathspace we are in `-N XXX`
17 * If the default then this is NULL
19 extern const char *pathspace
;
21 extern void watchfrr_vty_init(void);
23 extern pid_t integrated_write_pid
;
24 extern void integrated_write_sigchld(int status
);
27 extern void watchfrr_status(struct vty
*vty
);
30 * Check if all daemons we are monitoring are in the DAEMON_UP state.
33 * True if they are all DAEMON_UP, false otherwise.
35 extern bool check_all_up(void);
37 extern void watchfrr_set_ignore_daemon(struct vty
*vty
, const char *dname
,
39 #endif /* FRR_WATCHFRR_H */