aboutsummaryrefslogtreecommitdiffstats
path: root/src/lua/lua_common.h
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2013-10-02 15:37:56 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2013-10-02 15:37:56 +0100
commitf2d1109c8f7a450febae4d160b23bdd8f2a27465 (patch)
tree277e53af859eaf360c5227babbd9c3bdbdeb0a8c /src/lua/lua_common.h
parent33d45e26503db6e1a770e982e31f87ae31854ba7 (diff)
downloadrspamd-f2d1109c8f7a450febae4d160b23bdd8f2a27465.tar.gz
rspamd-f2d1109c8f7a450febae4d160b23bdd8f2a27465.zip
Add preliminary implementation of lua to rcl converter.
Diffstat (limited to 'src/lua/lua_common.h')
-rw-r--r--src/lua/lua_common.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/lua/lua_common.h b/src/lua/lua_common.h
index c83433d81..7416297f7 100644
--- a/src/lua/lua_common.h
+++ b/src/lua/lua_common.h
@@ -110,6 +110,13 @@ void free_lua_locked (struct lua_locked_state *st);
gint lua_rcl_obj_push (lua_State *L, rspamd_cl_object_t *obj);
/**
+ * Extract rcl object from lua object
+ * @param L
+ * @return
+ */
+rspamd_cl_object_t * lua_rcl_obj_get (lua_State *L);
+
+/**
* Open libraries functions
*/
gint luaopen_message (lua_State *L);