aboutsummaryrefslogtreecommitdiffstats
path: root/src/lua/lua_common.h
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rambler-co.ru>2012-03-26 19:44:44 +0400
committerVsevolod Stakhov <vsevolod@rambler-co.ru>2012-03-26 19:44:44 +0400
commit7e440d6f4392a302d6cd4e886fe6da42ae87fed2 (patch)
tree6cfb4e7ce8e15c565688ebdd734b770eba167b23 /src/lua/lua_common.h
parent312a025f6ea39f044d12f93abc8b503e63ea15ba (diff)
downloadrspamd-7e440d6f4392a302d6cd4e886fe6da42ae87fed2.tar.gz
rspamd-7e440d6f4392a302d6cd4e886fe6da42ae87fed2.zip
* Add lua bindings for upstream API.
Diffstat (limited to 'src/lua/lua_common.h')
-rw-r--r--src/lua/lua_common.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lua/lua_common.h b/src/lua/lua_common.h
index 32604cbc4..adb87135e 100644
--- a/src/lua/lua_common.h
+++ b/src/lua/lua_common.h
@@ -17,7 +17,7 @@
extern const luaL_reg null_reg[];
extern GMutex *lua_mtx;
-#define RSPAMD_LUA_API_VERSION 9
+#define RSPAMD_LUA_API_VERSION 10
/* Common utility functions */
@@ -61,6 +61,7 @@ gint luaopen_cdb (lua_State *L);
gint luaopen_xmlrpc (lua_State * L);
gint luaopen_http (lua_State * L);
gint luaopen_redis (lua_State * L);
+gint luaopen_upstream (lua_State * L);
void init_lua (struct config_file *cfg);
gboolean init_lua_filters (struct config_file *cfg);