]>
Commit | Line | Data |
---|---|---|
acddc0ed | 1 | // SPDX-License-Identifier: GPL-2.0-or-later |
7e24fdf3 DS |
2 | /* |
3 | * STATICd - vty header | |
4 | * Copyright (C) 2018 Cumulus Networks, Inc. | |
5 | * Donald Sharp | |
7e24fdf3 DS |
6 | */ |
7 | #ifndef __STATIC_VTY_H__ | |
8 | #define __STATIC_VTY_H__ | |
9 | ||
deca28a3 CH |
10 | #ifdef __cplusplus |
11 | extern "C" { | |
12 | #endif | |
13 | ||
25605051 | 14 | void static_cli_show(struct vty *vty, const struct lyd_node *dnode, |
6cc73dad | 15 | bool show_defaults); |
25605051 IR |
16 | void static_cli_show_end(struct vty *vty, const struct lyd_node *dnode); |
17 | void static_nexthop_cli_show(struct vty *vty, const struct lyd_node *dnode, | |
6cc73dad | 18 | bool show_defaults); |
25605051 | 19 | void static_src_nexthop_cli_show(struct vty *vty, const struct lyd_node *dnode, |
6cc73dad | 20 | bool show_defaults); |
25605051 IR |
21 | int static_nexthop_cli_cmp(const struct lyd_node *dnode1, |
22 | const struct lyd_node *dnode2); | |
23 | int static_route_list_cli_cmp(const struct lyd_node *dnode1, | |
24 | const struct lyd_node *dnode2); | |
25 | int static_src_list_cli_cmp(const struct lyd_node *dnode1, | |
26 | const struct lyd_node *dnode2); | |
27 | int static_path_list_cli_cmp(const struct lyd_node *dnode1, | |
28 | const struct lyd_node *dnode2); | |
7e24fdf3 DS |
29 | |
30 | void static_vty_init(void); | |
deca28a3 CH |
31 | |
32 | #ifdef __cplusplus | |
33 | } | |
34 | #endif | |
35 | ||
7e24fdf3 | 36 | #endif |