aboutsummaryrefslogtreecommitdiffstats
path: root/src/libstat/stat_api.h
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2016-01-06 14:24:07 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2016-01-06 14:24:07 +0000
commitdf9ada40a53a804d2d90d9dfddc149a68c141a15 (patch)
treeecf56c7cf18b8a95b2fc6a38933ea7dd142c432b /src/libstat/stat_api.h
parent1622570f58b5f5b184f97cd75a52a98cc0b1721a (diff)
downloadrspamd-df9ada40a53a804d2d90d9dfddc149a68c141a15.tar.gz
rspamd-df9ada40a53a804d2d90d9dfddc149a68c141a15.zip
Add learning implementation.
Diffstat (limited to 'src/libstat/stat_api.h')
-rw-r--r--src/libstat/stat_api.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libstat/stat_api.h b/src/libstat/stat_api.h
index a4a28a4bc..1cdd2f029 100644
--- a/src/libstat/stat_api.h
+++ b/src/libstat/stat_api.h
@@ -77,6 +77,7 @@ rspamd_stat_result_t rspamd_stat_classify (struct rspamd_task *task,
*/
rspamd_stat_result_t rspamd_stat_learn (struct rspamd_task *task,
gboolean spam, lua_State *L, const gchar *classifier,
+ guint stage,
GError **err);
/**