diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2019-03-27 14:18:22 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2019-03-27 14:18:22 +0000 |
commit | 812dfbbd064daf5f60260b5718bbe3ba4173eabf (patch) | |
tree | db7a75acaf64df6e4dc0da8746645f21035346f8 /src/lua/lua_common.h | |
parent | 6c98a7447d79fda38e0eb8313d45c6cc23cfc3c9 (diff) | |
download | rspamd-812dfbbd064daf5f60260b5718bbe3ba4173eabf.tar.gz rspamd-812dfbbd064daf5f60260b5718bbe3ba4173eabf.zip |
[Feature] Preprocess config files using jinja templates
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 520f5920d..01b7d3581 100644 --- a/src/lua/lua_common.h +++ b/src/lua/lua_common.h @@ -306,7 +306,8 @@ void rspamd_lua_set_path (lua_State *L, const ucl_object_t *cfg_obj, GHashTable *vars); /* Set some lua globals */ -void rspamd_lua_set_env (lua_State *L, GHashTable *vars); +gboolean rspamd_lua_set_env (lua_State *L, GHashTable *vars, char **lua_env, + GError **err); void rspamd_lua_set_globals (struct rspamd_config *cfg, lua_State *L); struct memory_pool_s * rspamd_lua_check_mempool (lua_State * L, gint pos); |