From 77d65b7266828dccdec909d352f2c1238e970e4b Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Tue, 17 Feb 2015 12:55:51 +0000 Subject: Set lua path for lua configuration. --- src/lua/lua_common.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/lua/lua_common.h') diff --git a/src/lua/lua_common.h b/src/lua/lua_common.h index 521a25580..7c532df4e 100644 --- a/src/lua/lua_common.h +++ b/src/lua/lua_common.h @@ -218,6 +218,9 @@ gboolean rspamd_lua_check_condition (struct rspamd_config *cfg, const gchar *condition); void rspamd_lua_dumpstack (lua_State *L); +/* Set lua path according to the configuration */ +void rspamd_lua_set_path (lua_State *L, struct rspamd_config *cfg); + struct memory_pool_s * rspamd_lua_check_mempool (lua_State * L); -- cgit v1.2.3