You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

19 lines
560 B

#include <lighttpd/base.h>
#include <lua.h>
LI_API void li_lua_init_action_mt(liServer *srv, lua_State *L);
LI_API liAction* li_lua_get_action(lua_State *L, int ndx);
LI_API int li_lua_push_action(liServer *srv, lua_State *L, liAction *a);
/* create new action from lua function */
LI_API liAction* li_lua_make_action(lua_State *L, int ndx);
/* either acquire a action ref or makes a new action from a lua function */
LI_API liAction* li_lua_get_action_ref(lua_State *L, int ndx);