summaryrefslogtreecommitdiffstats
path: root/src/libserver/symbols_cache.h
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2017-08-11 19:04:11 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2017-08-11 19:04:33 +0100
commit7a4c7de7035499eee2d68d525dc003feb18a749b (patch)
treebcd03bde59899bc9a368d5cd735b8760b3096ae9 /src/libserver/symbols_cache.h
parent574aba03daae0891733bf62a35d390a7e637d6a0 (diff)
downloadrspamd-7a4c7de7035499eee2d68d525dc003feb18a749b.tar.gz
rspamd-7a4c7de7035499eee2d68d525dc003feb18a749b.zip
[Feature] Add preliminary support of idempotent symbols
Diffstat (limited to 'src/libserver/symbols_cache.h')
-rw-r--r--src/libserver/symbols_cache.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libserver/symbols_cache.h b/src/libserver/symbols_cache.h
index ade8d95b9..f6bbd599b 100644
--- a/src/libserver/symbols_cache.h
+++ b/src/libserver/symbols_cache.h
@@ -41,6 +41,7 @@ enum rspamd_symbol_type {
SYMBOL_TYPE_PREFILTER = (1 << 9),
SYMBOL_TYPE_POSTFILTER = (1 << 10),
SYMBOL_TYPE_NOSTAT = (1 << 11), /* Skip as statistical symbol */
+ SYMBOL_TYPE_IDEMPOTENT = (1 << 12), /* Symbol cannot change metric */
};
/**