diff options
author | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2010-08-25 19:38:18 +0400 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2010-08-25 19:38:18 +0400 |
commit | 671bbfa9cc85a625df33d6384a3179ce076765b9 (patch) | |
tree | ac77b0439bc08ce896b614e1a95641878d35d807 /src/main.h | |
parent | 331f6807e9ef813755f8ec197cc24915c458a684 (diff) | |
download | rspamd-671bbfa9cc85a625df33d6384a3179ce076765b9.tar.gz rspamd-671bbfa9cc85a625df33d6384a3179ce076765b9.zip |
* Add post filters to lua API - filters that would be called after all message's processing
* Add ability to check for specified symbol in task results from lua
* Add ability to check for metric's results from lua
* Add ability to learn specified statfile form lua
Diffstat (limited to 'src/main.h')
-rw-r--r-- | src/main.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main.h b/src/main.h index b54d3ed8a..e26f3fbd0 100644 --- a/src/main.h +++ b/src/main.h @@ -205,6 +205,8 @@ struct worker_task { GList *images; /**< list of images */ GHashTable *results; /**< hash table of metric_result indexed by * metric's name */ + GHashTable *tokens; /**< hash table of tokens indexed by tokenizer + * pointer */ GList *messages; /**< list of messages that would be reported */ GHashTable *re_cache; /**< cache for matched or not matched regexps */ struct config_file *cfg; /**< pointer to config object */ |