diff options
author | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2012-07-09 21:45:03 +0400 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2012-07-09 21:45:03 +0400 |
commit | 7ef494782ccfa6dfdd8bc2187cba43628535277b (patch) | |
tree | 3431645ae267d5dfe90f6f2080a1dc04422bbcaf /src/lua/lua_common.h | |
parent | 4c1013a28f6cb90735c4554b8946414c44f28fdc (diff) | |
download | rspamd-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.h | 5 |
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 */ |