]> git.proxmox.com Git - mirror_frr.git/blame - staticd/static_vty.h
Merge pull request #13649 from donaldsharp/unlock_the_node_or_else
[mirror_frr.git] / staticd / static_vty.h
CommitLineData
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
11extern "C" {
12#endif
13
25605051 14void static_cli_show(struct vty *vty, const struct lyd_node *dnode,
6cc73dad 15 bool show_defaults);
25605051
IR
16void static_cli_show_end(struct vty *vty, const struct lyd_node *dnode);
17void static_nexthop_cli_show(struct vty *vty, const struct lyd_node *dnode,
6cc73dad 18 bool show_defaults);
25605051 19void static_src_nexthop_cli_show(struct vty *vty, const struct lyd_node *dnode,
6cc73dad 20 bool show_defaults);
25605051
IR
21int static_nexthop_cli_cmp(const struct lyd_node *dnode1,
22 const struct lyd_node *dnode2);
23int static_route_list_cli_cmp(const struct lyd_node *dnode1,
24 const struct lyd_node *dnode2);
25int static_src_list_cli_cmp(const struct lyd_node *dnode1,
26 const struct lyd_node *dnode2);
27int static_path_list_cli_cmp(const struct lyd_node *dnode1,
28 const struct lyd_node *dnode2);
7e24fdf3
DS
29
30void static_vty_init(void);
deca28a3
CH
31
32#ifdef __cplusplus
33}
34#endif
35
7e24fdf3 36#endif