diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-04-30 12:33:53 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-04-30 12:33:53 +0100 |
commit | dad973b08ce91f4d1219ac3c17692128d92ec579 (patch) | |
tree | b5ac1ad50d6f3c289d216981857dfb310e2851ce /src/libserver/cfg_file.h | |
parent | 69c9402d15216fce58494083f4b8a16c44ede31f (diff) | |
download | rspamd-dad973b08ce91f4d1219ac3c17692128d92ec579.tar.gz rspamd-dad973b08ce91f4d1219ac3c17692128d92ec579.zip |
[Feature] Add learn conditions for classifiers
Issue: #613
Diffstat (limited to 'src/libserver/cfg_file.h')
-rw-r--r-- | src/libserver/cfg_file.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libserver/cfg_file.h b/src/libserver/cfg_file.h index 01183af35..cd6d25683 100644 --- a/src/libserver/cfg_file.h +++ b/src/libserver/cfg_file.h @@ -150,6 +150,7 @@ struct rspamd_classifier_config { ucl_object_t *opts; /**< other options */ GList *pre_callbacks; /**< list of callbacks that are called before classification */ GList *post_callbacks; /**< list of callbacks that are called after classification */ + GList *learn_conditions; /**< list of learn condition callbacks */ gchar *name; /**< unique name of classifier */ guint32 min_tokens; /**< minimal number of tokens to process classifier */ guint32 max_tokens; /**< maximum number of tokens */ |