]> git.proxmox.com Git - mirror_frr.git/blob - staticd/static_vty.h
Merge pull request #12643 from opensourcerouting/fix/cosmetic_log_changes
[mirror_frr.git] / staticd / static_vty.h
1 /*
2 * STATICd - vty header
3 * Copyright (C) 2018 Cumulus Networks, Inc.
4 * Donald Sharp
5 * This program is free software; you can redistribute it and/or modify it
6 * under the terms of the GNU General Public License as published by the Free
7 * Software Foundation; either version 2 of the License, or (at your option)
8 * any later version.
9 *
10 * This program is distributed in the hope that it will be useful, but WITHOUT
11 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
12 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
13 * more details.
14 *
15 * You should have received a copy of the GNU General Public License along
16 * with this program; see the file COPYING; if not, write to the Free Software
17 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
18 */
19 #ifndef __STATIC_VTY_H__
20 #define __STATIC_VTY_H__
21
22 #ifdef __cplusplus
23 extern "C" {
24 #endif
25
26 void static_cli_show(struct vty *vty, const struct lyd_node *dnode,
27 bool show_defaults);
28 void static_cli_show_end(struct vty *vty, const struct lyd_node *dnode);
29 void static_nexthop_cli_show(struct vty *vty, const struct lyd_node *dnode,
30 bool show_defaults);
31 void static_src_nexthop_cli_show(struct vty *vty, const struct lyd_node *dnode,
32 bool show_defaults);
33 int static_nexthop_cli_cmp(const struct lyd_node *dnode1,
34 const struct lyd_node *dnode2);
35 int static_route_list_cli_cmp(const struct lyd_node *dnode1,
36 const struct lyd_node *dnode2);
37 int static_src_list_cli_cmp(const struct lyd_node *dnode1,
38 const struct lyd_node *dnode2);
39 int static_path_list_cli_cmp(const struct lyd_node *dnode1,
40 const struct lyd_node *dnode2);
41
42 void static_vty_init(void);
43
44 #ifdef __cplusplus
45 }
46 #endif
47
48 #endif