Use forward references instead of including the main bgpd.h
header in the bgp scripting header to reduce external impact
of changes.
Signed-off-by: Mark Stapp <mjs@cisco.com>
#define __BGP_SCRIPT__
#include <zebra.h>
-#include "bgpd.h"
#ifdef HAVE_SCRIPTING
*/
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);