]>
Commit | Line | Data |
---|---|---|
7e24fdf3 DS |
1 | /* |
2 | * STATICd - vty header | |
3 | * Copyright (C) 2018 Cumulus Networks, Inc. | |
4 | * Donald Sharp | |
8d5cbee9 DS |
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. | |
7e24fdf3 | 9 | * |
8d5cbee9 DS |
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. | |
7e24fdf3 DS |
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 | ||
deca28a3 CH |
22 | #ifdef __cplusplus |
23 | extern "C" { | |
24 | #endif | |
25 | ||
6cc73dad IR |
26 | void static_cli_show(struct vty *vty, struct lyd_node *dnode, |
27 | bool show_defaults); | |
28 | void static_cli_show_end(struct vty *vty, struct lyd_node *dnode); | |
29 | void static_nexthop_cli_show(struct vty *vty, struct lyd_node *dnode, | |
30 | bool show_defaults); | |
31 | void static_src_nexthop_cli_show(struct vty *vty, struct lyd_node *dnode, | |
32 | bool show_defaults); | |
33 | int static_nexthop_cli_cmp(struct lyd_node *dnode1, struct lyd_node *dnode2); | |
34 | int static_route_list_cli_cmp(struct lyd_node *dnode1, struct lyd_node *dnode2); | |
35 | int static_src_list_cli_cmp(struct lyd_node *dnode1, struct lyd_node *dnode2); | |
36 | int static_path_list_cli_cmp(struct lyd_node *dnode1, struct lyd_node *dnode2); | |
7e24fdf3 DS |
37 | |
38 | void static_vty_init(void); | |
deca28a3 CH |
39 | |
40 | #ifdef __cplusplus | |
41 | } | |
42 | #endif | |
43 | ||
7e24fdf3 | 44 | #endif |