summaryrefslogtreecommitdiff
path: root/lua/lua.h
diff options
context:
space:
mode:
authorJan Maria Matejka <mq@ucw.cz>2018-01-12 15:13:06 +0100
committerMikael Magnusson <mikma@users.sourceforge.net>2019-02-22 23:12:41 +0100
commitff54220ad5240e7a1975f8e8a8adbc754cf84841 (patch)
tree5b8cc4930d5a31a9e6d8916669f2d7fcdc1277e2 /lua/lua.h
parent39fc5192ccc174a9f11645a225ae261c7c909814 (diff)
Lua filtering able to reject and accept
Diffstat (limited to 'lua/lua.h')
-rw-r--r--lua/lua.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/lua/lua.h b/lua/lua.h
index d2c522b9..39582e2e 100644
--- a/lua/lua.h
+++ b/lua/lua.h
@@ -2,5 +2,10 @@
#include <lua.h>
-void luaB_push_bird(lua_State *L);
+typedef struct lua_bird_state {
+ int exception;
+} lua_bird_state;
+
+lua_bird_state *luaB_init(lua_State *L, struct linpool *lp);
void luaB_push_route(lua_State *L, rte *e);
+