aboutsummaryrefslogtreecommitdiffstats
path: root/src/libserver
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2016-01-05 19:04:40 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2016-01-05 19:04:40 +0000
commit1622570f58b5f5b184f97cd75a52a98cc0b1721a (patch)
tree3510b622bcc91644234a9e9a25825d3f7c1b1de6 /src/libserver
parent57a464ab523700fc7f2ab3f116724cd198799da8 (diff)
parent29b7115762ad84865b6b657c8f5e88aba16e8eb4 (diff)
downloadrspamd-1622570f58b5f5b184f97cd75a52a98cc0b1721a.tar.gz
rspamd-1622570f58b5f5b184f97cd75a52a98cc0b1721a.zip
Merge branch 'stat-rework'
Diffstat (limited to 'src/libserver')
-rw-r--r--src/libserver/task.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/libserver/task.h b/src/libserver/task.h
index 359b2f41f..ed18d99d0 100644
--- a/src/libserver/task.h
+++ b/src/libserver/task.h
@@ -149,8 +149,7 @@ struct rspamd_task {
GHashTable *raw_headers; /**< list of raw headers */
GHashTable *results; /**< hash table of metric_result indexed by
* metric's name */
- GHashTable *tokens; /**< hash table of tokens indexed by tokenizer
- * pointer */
+ GPtrArray *tokens; /**< statistics tokens */
InternetAddressList *rcpt_mime; /**< list of all recipients */
InternetAddressList *rcpt_envelope; /**< list of all recipients */
InternetAddressList *from_mime;
@@ -158,7 +157,7 @@ struct rspamd_task {
GList *messages; /**< list of messages that would be reported */
struct rspamd_re_runtime *re_rt; /**< regexp runtime */
- GList *cl_runtimes; /**< classifiers runtime */
+ GPtrArray *stat_runtimes; /**< backend runtime */
struct rspamd_config *cfg; /**< pointer to config object */
GError *err;
rspamd_mempool_t *task_pool; /**< memory pool for task */