aboutsummaryrefslogtreecommitdiffstats
path: root/src/lua/lua_common.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rambler-co.ru>2009-12-16 20:06:29 +0300
committerVsevolod Stakhov <vsevolod@rambler-co.ru>2009-12-16 20:06:29 +0300
commit1b1bcd6966f47a2568acee011dd4b9f18195d765 (patch)
tree219073936a703bd001699bc0ca4c70014068c26c /src/lua/lua_common.c
parentb7046a0e6667e9c840b83acaf08f9ac117508eaa (diff)
downloadrspamd-1b1bcd6966f47a2568acee011dd4b9f18195d765.tar.gz
rspamd-1b1bcd6966f47a2568acee011dd4b9f18195d765.zip
* Implement pre and post classify callbacks for checking specific statfiles for this task
TODO: - add properties to get all parameters of input task - add properties to statfile object - add some normalization function for calling from classify process - document changes
Diffstat (limited to 'src/lua/lua_common.c')
-rw-r--r--src/lua/lua_common.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lua/lua_common.c b/src/lua/lua_common.c
index 7e7caefda..1ad61aaf0 100644
--- a/src/lua/lua_common.c
+++ b/src/lua/lua_common.c
@@ -196,6 +196,8 @@ init_lua ()
(void)luaopen_task (L);
(void)luaopen_textpart (L);
(void)luaopen_message (L);
+ (void)luaopen_classifier (L);
+ (void)luaopen_statfile (L);
}
}