]>
Commit | Line | Data |
---|---|---|
acddc0ed | 1 | // SPDX-License-Identifier: GPL-2.0-or-later |
7e24fdf3 DS |
2 | /* |
3 | * Zebra connect library for staticd | |
4 | * Copyright (C) 2018 Cumulus Networks, Inc. | |
5 | * Donald Sharp | |
7e24fdf3 DS |
6 | */ |
7 | #ifndef __STATIC_ZEBRA_H__ | |
8 | #define __STATIC_ZEBRA_H__ | |
9 | ||
deca28a3 CH |
10 | #ifdef __cplusplus |
11 | extern "C" { | |
12 | #endif | |
13 | ||
cd9d0537 | 14 | extern struct event_loop *master; |
7e24fdf3 | 15 | |
4067e951 | 16 | extern void static_zebra_nht_register(struct static_nexthop *nh, bool reg); |
7e24fdf3 | 17 | |
4067e951 | 18 | extern void static_zebra_route_add(struct static_path *pn, bool install); |
7e24fdf3 | 19 | extern void static_zebra_init(void); |
deca28a3 CH |
20 | /* static_zebra_stop used by tests/lib/test_grpc.cpp */ |
21 | extern void static_zebra_stop(void); | |
fceb6174 PG |
22 | extern void static_zebra_vrf_register(struct vrf *vrf); |
23 | extern void static_zebra_vrf_unregister(struct vrf *vrf); | |
24 | ||
deca28a3 CH |
25 | #ifdef __cplusplus |
26 | } | |
27 | #endif | |
28 | ||
7e24fdf3 | 29 | #endif |