summaryrefslogtreecommitdiffstats
path: root/src/lua/lua_common.h
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2019-06-15 12:38:14 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2019-06-15 12:38:14 +0100
commit97f3650d65c7a359d2218986c680b29ded51e976 (patch)
tree064f2ecc53b944e174c9dd3ed9ef005c8fe32838 /src/lua/lua_common.h
parent25931e8fb535905470ef0eb43d2e187a5c5d7783 (diff)
downloadrspamd-97f3650d65c7a359d2218986c680b29ded51e976.tar.gz
rspamd-97f3650d65c7a359d2218986c680b29ded51e976.zip
[Minor] Lua_config: Add config unload scripts
Diffstat (limited to 'src/lua/lua_common.h')
-rw-r--r--src/lua/lua_common.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lua/lua_common.h b/src/lua/lua_common.h
index 258c41491..ee6fe9da6 100644
--- a/src/lua/lua_common.h
+++ b/src/lua/lua_common.h
@@ -421,6 +421,7 @@ void rspamd_lua_run_postloads (lua_State *L, struct rspamd_config *cfg,
struct event_base *ev_base, struct rspamd_worker *w);
void rspamd_lua_run_config_post_init (lua_State *L, struct rspamd_config *cfg);
+void rspamd_lua_run_config_unload (lua_State *L, struct rspamd_config *cfg);
/**
* Adds new destructor for a local function for specific pool