]>
git.proxmox.com Git - mirror_frr.git/blob - zebra/zebra_script.h
2 * frrscript encoders and decoders for data structures in Zebra
3 * Copyright (C) 2021 Donald Lee
5 * This program is free software; you can redistribute it and/or modify it
6 * under the terms of the GNU General Public License as published by the Free
7 * Software Foundation; either version 2 of the License, or (at your option)
10 * This program is distributed in the hope that it will be useful, but WITHOUT
11 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
12 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
15 * You should have received a copy of the GNU General Public License along
16 * with this program; see the file COPYING; if not, write to the Free Software
17 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
20 #ifndef _ZEBRA_SCRIPT_H
21 #define _ZEBRA_SCRIPT_H
24 #include "zebra/zebra_dplane.h"
25 #include "zebra/zebra_pbr.h"
31 void zebra_script_init(void);
33 void zebra_script_destroy(void);
35 void lua_pushnh_grp(lua_State
*L
, const struct nh_grp
*nh_grp
);
37 void lua_pushzebra_dplane_ctx(lua_State
*L
, const struct zebra_dplane_ctx
*ctx
);
39 #endif /* HAVE_SCRIPTING */
41 #endif /* _ZEBRA_SCRIPT_H */