diff options
author | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2012-03-26 19:44:44 +0400 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2012-03-26 19:44:44 +0400 |
commit | 7e440d6f4392a302d6cd4e886fe6da42ae87fed2 (patch) | |
tree | 6cfb4e7ce8e15c565688ebdd734b770eba167b23 /src/lua/lua_common.h | |
parent | 312a025f6ea39f044d12f93abc8b503e63ea15ba (diff) | |
download | rspamd-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.h | 3 |
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); |