]>
git.proxmox.com Git - mirror_frr.git/blob - staticd/static_debug.h
1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Staticd debug related functions
4 * Copyright (C) 2019 Volta Networks Inc.
8 #ifndef _STATIC_DEBUG_H
9 #define _STATIC_DEBUG_H
13 #include "lib/debug.h"
19 /* staticd debugging records */
20 extern struct debug static_dbg_events
;
21 extern struct debug static_dbg_route
;
22 extern struct debug static_dbg_bfd
;
25 * Initialize staticd debugging.
27 * Installs VTY commands and registers callbacks.
29 void static_debug_init(void);
32 * Print staticd debugging configuration.
35 * VTY to print debugging configuration to.
37 int static_config_write_debug(struct vty
*vty
);
40 * Print staticd debugging configuration, human readable form.
43 * VTY to print debugging configuration to.
45 int static_debug_status_write(struct vty
*vty
);
48 * Set debugging status.
54 * Whether to turn the specified debugs on or off
57 * Debug general internal events
60 void static_debug_set(int vtynode
, bool onoff
, bool events
, bool route
,
67 #endif /* _STATIC_DEBUG_H */