diff options
Diffstat (limited to 'src/lua/lua_common.h')
-rw-r--r-- | src/lua/lua_common.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/lua/lua_common.h b/src/lua/lua_common.h index 9cd966e23..314f903e7 100644 --- a/src/lua/lua_common.h +++ b/src/lua/lua_common.h @@ -27,6 +27,8 @@ int luaopen_metric (lua_State *L); int luaopen_radix (lua_State *L); int luaopen_hash_table (lua_State *L); int luaopen_textpart (lua_State *L); +int luaopen_classifier (lua_State *L); +int luaopen_statfile (lua_State * L); void init_lua_filters (struct config_file *cfg); int lua_call_filter (const char *function, struct worker_task *task); @@ -34,5 +36,8 @@ int lua_call_chain_filter (const char *function, struct worker_task *task, int * double lua_consolidation_func (struct worker_task *task, const char *metric_name, const char *function_name); 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); + #endif /* WITH_LUA */ #endif /* RSPAMD_LUA_H */ |