]>
git.proxmox.com Git - mirror_frr.git/blob - zebra/zebra_script.h
1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * frrscript encoders and decoders for data structures in Zebra
4 * Copyright (C) 2021 Donald Lee
7 #ifndef _ZEBRA_SCRIPT_H
8 #define _ZEBRA_SCRIPT_H
11 #include "zebra/zebra_dplane.h"
12 #include "zebra/zebra_pbr.h"
18 void zebra_script_init(void);
20 void zebra_script_destroy(void);
22 void lua_pushnh_grp(lua_State
*L
, const struct nh_grp
*nh_grp
);
24 void lua_pushzebra_dplane_ctx(lua_State
*L
, const struct zebra_dplane_ctx
*ctx
);
26 #endif /* HAVE_SCRIPTING */
28 #endif /* _ZEBRA_SCRIPT_H */