aboutsummaryrefslogtreecommitdiffstats
path: root/src/lua/lua_common.h
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rambler-co.ru>2011-12-12 20:14:49 +0300
committerVsevolod Stakhov <vsevolod@rambler-co.ru>2011-12-12 20:14:49 +0300
commitce605155252dd38a76ae9411b217c2c1576849bc (patch)
tree539563cfbf723f42c72afdf8b13fd2cc48d23066 /src/lua/lua_common.h
parent7ca658607cdeebe0cecbeb310cf2c99af800306f (diff)
downloadrspamd-ce605155252dd38a76ae9411b217c2c1576849bc.tar.gz
rspamd-ce605155252dd38a76ae9411b217c2c1576849bc.zip
* Add lua bindings to hiredis library
Polish some comments.
Diffstat (limited to 'src/lua/lua_common.h')
-rw-r--r--src/lua/lua_common.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lua/lua_common.h b/src/lua/lua_common.h
index 26710c904..6ae8421fb 100644
--- a/src/lua/lua_common.h
+++ b/src/lua/lua_common.h
@@ -39,6 +39,7 @@ gint luaopen_glib_regexp (lua_State *L);
gint luaopen_cdb (lua_State *L);
gint luaopen_xmlrpc (lua_State * L);
gint luaopen_http (lua_State * L);
+gint luaopen_redis (lua_State * L);
void init_lua (struct config_file *cfg);
gboolean init_lua_filters (struct config_file *cfg);
@@ -62,6 +63,7 @@ void lua_process_element (struct config_file *cfg, const gchar *name, struct mod
gboolean lua_handle_param (struct worker_task *task, gchar *mname, gchar *optname,
enum lua_var_type expected_type, gpointer *res);
gboolean lua_check_condition (struct config_file *cfg, const gchar *condition);
+void lua_dumpstack (lua_State *L);
#endif /* WITH_LUA */