aboutsummaryrefslogtreecommitdiffstats
path: root/src/lua/lua_common.h
diff options
context:
space:
mode:
authorcebka@lenovo-laptop <cebka@lenovo-laptop>2010-01-13 16:35:17 +0300
committercebka@lenovo-laptop <cebka@lenovo-laptop>2010-01-13 16:35:17 +0300
commitfc70f10e7c2a7b0aeb5da7b28c64131b03538e76 (patch)
treeb1c8ad0c8772f035a4b2fe2fc5dd43dff439f927 /src/lua/lua_common.h
parentd544f1d5770f56bf8b2b75ca7a04ac5441069e68 (diff)
downloadrspamd-fc70f10e7c2a7b0aeb5da7b28c64131b03538e76.tar.gz
rspamd-fc70f10e7c2a7b0aeb5da7b28c64131b03538e76.zip
* Add ability to add normalizers for statfiles (custom functions written in lua or simple internal normalizer)
Diffstat (limited to 'src/lua/lua_common.h')
-rw-r--r--src/lua/lua_common.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lua/lua_common.h b/src/lua/lua_common.h
index 314f903e7..a1820d064 100644
--- a/src/lua/lua_common.h
+++ b/src/lua/lua_common.h
@@ -39,5 +39,7 @@ void add_luabuf (const char *line);
GList *call_classifier_pre_callbacks (struct classifier_config *ccf, struct worker_task *task);
double call_classifier_post_callbacks (struct classifier_config *ccf, struct worker_task *task, double in);
+double lua_normalizer_func (double score, void *params);
+
#endif /* WITH_LUA */
#endif /* RSPAMD_LUA_H */