aboutsummaryrefslogtreecommitdiffstats
path: root/src/fuzzy_storage.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/fuzzy_storage.h')
-rw-r--r--src/fuzzy_storage.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/fuzzy_storage.h b/src/fuzzy_storage.h
index aca6ab952..c23672ed8 100644
--- a/src/fuzzy_storage.h
+++ b/src/fuzzy_storage.h
@@ -13,6 +13,7 @@
#define FUZZY_CHECK 0
#define FUZZY_WRITE 1
#define FUZZY_DEL 2
+#define FUZZY_STAT 3
/**
@@ -79,4 +80,9 @@ RSPAMD_PACKED(rspamd_fuzzy_encrypted_reply) {
static const guchar fuzzy_encrypted_magic[4] = {'r', 's', 'f', 'e'};
+struct rspamd_fuzzy_stat_entry {
+ const gchar *name;
+ guint32 fuzzy_cnt;
+};
+
#endif