summaryrefslogtreecommitdiffstats
path: root/bgpd/bgp_script.h
diff options
context:
space:
mode:
Diffstat (limited to 'bgpd/bgp_script.h')
-rw-r--r--bgpd/bgp_script.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/bgpd/bgp_script.h b/bgpd/bgp_script.h
index f2f47e94..9feb5501 100644
--- a/bgpd/bgp_script.h
+++ b/bgpd/bgp_script.h
@@ -7,7 +7,6 @@
#define __BGP_SCRIPT__
#include <zebra.h>
-#include "bgpd.h"
#ifdef HAVE_SCRIPTING
@@ -18,6 +17,10 @@
*/
void bgp_script_init(void);
+/* Forward references */
+struct peer;
+struct attr;
+
void lua_pushpeer(lua_State *L, const struct peer *peer);
void lua_pushattr(lua_State *L, const struct attr *attr);