aboutsummaryrefslogtreecommitdiffstats
path: root/src/lua/lua_common.h
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rambler-co.ru>2012-07-09 21:45:03 +0400
committerVsevolod Stakhov <vsevolod@rambler-co.ru>2012-07-09 21:45:03 +0400
commit7ef494782ccfa6dfdd8bc2187cba43628535277b (patch)
tree3431645ae267d5dfe90f6f2080a1dc04422bbcaf /src/lua/lua_common.h
parent4c1013a28f6cb90735c4554b8946414c44f28fdc (diff)
downloadrspamd-7ef494782ccfa6dfdd8bc2187cba43628535277b.tar.gz
rspamd-7ef494782ccfa6dfdd8bc2187cba43628535277b.zip
* Add async_session and memory pool objects lua bindings.
Diffstat (limited to 'src/lua/lua_common.h')
-rw-r--r--src/lua/lua_common.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/lua/lua_common.h b/src/lua/lua_common.h
index c138a35a2..daab695fc 100644
--- a/src/lua/lua_common.h
+++ b/src/lua/lua_common.h
@@ -62,6 +62,9 @@ gint luaopen_xmlrpc (lua_State * L);
gint luaopen_http (lua_State * L);
gint luaopen_redis (lua_State * L);
gint luaopen_upstream (lua_State * L);
+gint luaopen_mempool (lua_State * L);
+gint luaopen_session (lua_State * L);
+
void init_lua (struct config_file *cfg);
gboolean init_lua_filters (struct config_file *cfg);
@@ -88,6 +91,8 @@ gboolean lua_handle_param (struct worker_task *task, gchar *mname, gchar *optnam
gboolean lua_check_condition (struct config_file *cfg, const gchar *condition);
void lua_dumpstack (lua_State *L);
+struct memory_pool_s *lua_check_mempool (lua_State * L);
+
#endif /* WITH_LUA */
#endif /* RSPAMD_LUA_H */