]> git.proxmox.com Git - mirror_frr.git/blame - zebra/zebra_script.h
zebra: Fix missing VRF flag
[mirror_frr.git] / zebra / zebra_script.h
CommitLineData
acddc0ed 1// SPDX-License-Identifier: GPL-2.0-or-later
4f7e32ba
DL
2/*
3 * frrscript encoders and decoders for data structures in Zebra
4 * Copyright (C) 2021 Donald Lee
4f7e32ba
DL
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
18void zebra_script_init(void);
19
20void zebra_script_destroy(void);
21
22void lua_pushnh_grp(lua_State *L, const struct nh_grp *nh_grp);
23
24void lua_pushzebra_dplane_ctx(lua_State *L, const struct zebra_dplane_ctx *ctx);
25
26#endif /* HAVE_SCRIPTING */
27
28#endif /* _ZEBRA_SCRIPT_H */