]> git.proxmox.com Git - mirror_frr.git/blame - staticd/static_zebra.h
*: Convert `struct event_master` to `struct event_loop`
[mirror_frr.git] / staticd / static_zebra.h
CommitLineData
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
11extern "C" {
12#endif
13
cd9d0537 14extern struct event_loop *master;
7e24fdf3 15
4067e951 16extern void static_zebra_nht_register(struct static_nexthop *nh, bool reg);
7e24fdf3 17
4067e951 18extern void static_zebra_route_add(struct static_path *pn, bool install);
7e24fdf3 19extern void static_zebra_init(void);
deca28a3
CH
20/* static_zebra_stop used by tests/lib/test_grpc.cpp */
21extern void static_zebra_stop(void);
fceb6174
PG
22extern void static_zebra_vrf_register(struct vrf *vrf);
23extern void static_zebra_vrf_unregister(struct vrf *vrf);
24
deca28a3
CH
25#ifdef __cplusplus
26}
27#endif
28
7e24fdf3 29#endif