diff options
author | cebka@lenovo-laptop <cebka@lenovo-laptop> | 2010-02-08 19:23:53 +0300 |
---|---|---|
committer | cebka@lenovo-laptop <cebka@lenovo-laptop> | 2010-02-08 19:23:53 +0300 |
commit | 341a236aa614d66bd76764e3eb315b6df0688ef5 (patch) | |
tree | 8db27485dbf87bc338cf311d4b6c70070774a618 /src/fuzzy_storage.h | |
parent | 10c8ad2246130d77b19ee7036e3f0a74c47425a1 (diff) | |
download | rspamd-341a236aa614d66bd76764e3eb315b6df0688ef5.tar.gz rspamd-341a236aa614d66bd76764e3eb315b6df0688ef5.zip |
* Add ability to add weight for fuzzy hashes, this can be very useful for autolearning fuzzy storage by users
Diffstat (limited to 'src/fuzzy_storage.h')
-rw-r--r-- | src/fuzzy_storage.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/fuzzy_storage.h b/src/fuzzy_storage.h index 1630171e4..aa3d50133 100644 --- a/src/fuzzy_storage.h +++ b/src/fuzzy_storage.h @@ -13,6 +13,7 @@ struct fuzzy_cmd { u_char cmd; uint32_t blocksize; + int32_t value; u_char hash[FUZZY_HASHLEN]; }; |