]> git.proxmox.com Git - mirror_frr.git/blob - zebra/zebra_script.h
Merge pull request #12798 from donaldsharp/rib_match_multicast
[mirror_frr.git] / zebra / zebra_script.h
1 // SPDX-License-Identifier: GPL-2.0-or-later
2 /*
3 * frrscript encoders and decoders for data structures in Zebra
4 * Copyright (C) 2021 Donald Lee
5 */
6
7 #ifndef _ZEBRA_SCRIPT_H
8 #define _ZEBRA_SCRIPT_H
9
10 #include "zebra.h"
11 #include "zebra/zebra_dplane.h"
12 #include "zebra/zebra_pbr.h"
13
14 #ifdef HAVE_SCRIPTING
15
16 #include "frrlua.h"
17
18 void zebra_script_init(void);
19
20 void zebra_script_destroy(void);
21
22 void lua_pushnh_grp(lua_State *L, const struct nh_grp *nh_grp);
23
24 void lua_pushzebra_dplane_ctx(lua_State *L, const struct zebra_dplane_ctx *ctx);
25
26 #endif /* HAVE_SCRIPTING */
27
28 #endif /* _ZEBRA_SCRIPT_H */