summaryrefslogtreecommitdiffstats
path: root/src/fuzzy_storage.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rambler-co.ru>2010-05-05 17:59:19 +0400
committerVsevolod Stakhov <vsevolod@rambler-co.ru>2010-05-05 17:59:19 +0400
commit10d43143584a98ea4aece11c4fa753f71808afec (patch)
treed2445da60b8d591bbeddbf6711b5a6f9d26ae1f2 /src/fuzzy_storage.c
parent02a6d987bbdf55e06375544a14c046d1724f946e (diff)
downloadrspamd-10d43143584a98ea4aece11c4fa753f71808afec.tar.gz
rspamd-10d43143584a98ea4aece11c4fa753f71808afec.zip
* Add ability to add flags to fuzzy hashes
Diffstat (limited to 'src/fuzzy_storage.c')
-rw-r--r--src/fuzzy_storage.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/fuzzy_storage.c b/src/fuzzy_storage.c
index 3a7338b04..5f5158620 100644
--- a/src/fuzzy_storage.c
+++ b/src/fuzzy_storage.c
@@ -77,8 +77,9 @@ static struct rspamd_stat *server_stat;
struct rspamd_fuzzy_node {
int32_t value;
- fuzzy_hash_t h;
+ int32_t flag;
uint64_t time;
+ fuzzy_hash_t h;
};
#ifndef HAVE_SA_SIGINFO