diff options
Diffstat (limited to 'src/lua/lua_common.h')
-rw-r--r-- | src/lua/lua_common.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/lua/lua_common.h b/src/lua/lua_common.h index d03fba0ce..c83433d81 100644 --- a/src/lua/lua_common.h +++ b/src/lua/lua_common.h @@ -6,6 +6,7 @@ #include "main.h" #include "cfg_file.h" +#include "rcl/rcl.h" #include <lua.h> #include <lauxlib.h> #include <lualib.h> @@ -102,6 +103,13 @@ struct lua_locked_state* init_lua_locked (struct config_file *cfg); void free_lua_locked (struct lua_locked_state *st); /** + * Push an rcl object to lua + * @param L lua state + * @param obj object to push + */ +gint lua_rcl_obj_push (lua_State *L, rspamd_cl_object_t *obj); + +/** * Open libraries functions */ gint luaopen_message (lua_State *L); |