aboutsummaryrefslogtreecommitdiffstats
path: root/src/fuzzy_storage.h
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2015-12-16 15:24:39 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2015-12-16 15:24:39 +0000
commite383fd8e4795ea6a24d28cd92be4bac79a91110d (patch)
tree9cd7a5f862f7370d95d4945ff175a3e2485c7df2 /src/fuzzy_storage.h
parentd414e0aad91f1999b19b7ea00b2aaf24f8ecc4c6 (diff)
downloadrspamd-e383fd8e4795ea6a24d28cd92be4bac79a91110d.tar.gz
rspamd-e383fd8e4795ea6a24d28cd92be4bac79a91110d.zip
Remove fuzzy stat from generic server stat
Diffstat (limited to 'src/fuzzy_storage.h')
-rw-r--r--src/fuzzy_storage.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/fuzzy_storage.h b/src/fuzzy_storage.h
index f3a6f0f9c..ff3438b38 100644
--- a/src/fuzzy_storage.h
+++ b/src/fuzzy_storage.h
@@ -14,6 +14,18 @@
#define FUZZY_WRITE 1
#define FUZZY_DEL 2
+
+/**
+ * The epoch of the fuzzy client
+ */
+enum rspamd_fuzzy_epoch {
+ RSPAMD_FUZZY_EPOCH6 = 0, /**< pre 0.6.x */
+ RSPAMD_FUZZY_EPOCH8, /**< 0.8 till 0.9 */
+ RSPAMD_FUZZY_EPOCH9, /**< 0.9 + */
+ RSPAMD_FUZZY_EPOCH10, /**< 1.0 + encryption */
+ RSPAMD_FUZZY_EPOCH_MAX
+};
+
RSPAMD_PACKED(rspamd_fuzzy_cmd) {
guint8 version;
guint8 cmd;