]> git.proxmox.com Git - mirror_frr.git/blob - staticd/static_zebra.h
Merge pull request #13113 from sri-mohan1/sri-mohan-ldp
[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 #ifndef __STATIC_ZEBRA_H__
8 #define __STATIC_ZEBRA_H__
9
10 #ifdef __cplusplus
11 extern "C" {
12 #endif
13
14 extern struct event_loop *master;
15
16 extern void static_zebra_nht_register(struct static_nexthop *nh, bool reg);
17
18 extern void static_zebra_route_add(struct static_path *pn, bool install);
19 extern void static_zebra_init(void);
20 /* static_zebra_stop used by tests/lib/test_grpc.cpp */
21 extern void static_zebra_stop(void);
22 extern void static_zebra_vrf_register(struct vrf *vrf);
23 extern void static_zebra_vrf_unregister(struct vrf *vrf);
24
25 #ifdef __cplusplus
26 }
27 #endif
28
29 #endif