aboutsummaryrefslogtreecommitdiffstats
path: root/src/lua/lua_common.h
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2015-02-17 12:55:51 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2015-02-17 12:55:51 +0000
commit77d65b7266828dccdec909d352f2c1238e970e4b (patch)
tree202b66617fb28e6da04db5e58f9e8e7b39286451 /src/lua/lua_common.h
parentf3addee53d27e0ed9ddeab5e5215378ba951baa7 (diff)
downloadrspamd-77d65b7266828dccdec909d352f2c1238e970e4b.tar.gz
rspamd-77d65b7266828dccdec909d352f2c1238e970e4b.zip
Set lua path for lua configuration.
Diffstat (limited to 'src/lua/lua_common.h')
-rw-r--r--src/lua/lua_common.h3
1 files changed, 3 insertions, 0 deletions
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);