mirror of
https://gitlab.nic.cz/labs/bird.git
synced 2025-01-10 11:01:54 +00:00
18 lines
309 B
C
18 lines
309 B
C
#include "nest/bird.h"
|
|
|
|
#include <lua.h>
|
|
|
|
struct lua_filter_chunk {
|
|
size_t size;
|
|
void *chunk;
|
|
struct lua_filter_chunk *next;
|
|
};
|
|
|
|
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);
|
|
|