]> git.proxmox.com Git - mirror_frr.git/blame - watchfrr/watchfrr.h
ospf6d: fix processing of inter-area-prefix-LSAs with the LA-bit set
[mirror_frr.git] / watchfrr / watchfrr.h
CommitLineData
acddc0ed 1// SPDX-License-Identifier: GPL-2.0-or-later
95c4aff2 2/*
896014f4
DL
3 * Common definitions for watchfrr API socket.
4 *
5 * Copyright (C) 2016 David Lamparter for NetDEF, Inc.
95c4aff2
DL
6 */
7
9473e340
DS
8#ifndef FRR_WATCHFRR_H
9#define FRR_WATCHFRR_H
95c4aff2 10
0a7c7856
DL
11#include "lib/memory.h"
12
bf8d3d6a 13DECLARE_MGROUP(WATCHFRR);
0a7c7856 14
a91f5417
DS
15/*
16 * This is the name of the pathspace we are in `-N XXX`
17 * If the default then this is NULL
18 */
19extern const char *pathspace;
20
9473e340 21extern void watchfrr_vty_init(void);
95c4aff2
DL
22
23extern pid_t integrated_write_pid;
24extern void integrated_write_sigchld(int status);
af568444
DL
25
26struct vty;
27extern void watchfrr_status(struct vty *vty);
28
470bc619
QY
29/*
30 * Check if all daemons we are monitoring are in the DAEMON_UP state.
31 *
32 * Returns:
33 * True if they are all DAEMON_UP, false otherwise.
34 */
35extern bool check_all_up(void);
95c4aff2 36
cc53b605
DS
37extern void watchfrr_set_ignore_daemon(struct vty *vty, const char *dname,
38 bool ignore);
d62a17ae 39#endif /* FRR_WATCHFRR_H */