]> git.proxmox.com Git - mirror_frr.git/blob - staticd/static_zebra.h
*: auto-convert to SPDX License IDs
[mirror_frr.git] / staticd / static_zebra.h
1 // SPDX-License-Identifier: GPL-2.0-or-later
2 /*
3 * Zebra connect library for staticd
4 * Copyright (C) 2018 Cumulus Networks, Inc.
5 * Donald Sharp
6 *
7 * You should have received a copy of the GNU General Public License along
8 * with this program; see the file COPYING; if not, write to the Free Software
9 */
10 #ifndef __STATIC_ZEBRA_H__
11 #define __STATIC_ZEBRA_H__
12
13 #ifdef __cplusplus
14 extern "C" {
15 #endif
16
17 extern struct thread_master *master;
18
19 extern void static_zebra_nht_register(struct static_nexthop *nh, bool reg);
20
21 extern void static_zebra_route_add(struct static_path *pn, bool install);
22 extern void static_zebra_init(void);
23 /* static_zebra_stop used by tests/lib/test_grpc.cpp */
24 extern void static_zebra_stop(void);
25 extern void static_zebra_vrf_register(struct vrf *vrf);
26 extern void static_zebra_vrf_unregister(struct vrf *vrf);
27
28 #ifdef __cplusplus
29 }
30 #endif
31
32 #endif