diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2014-12-19 14:35:31 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2014-12-19 14:35:31 +0000 |
commit | b26afb57c80333a9b5a68a31d613bed32e2c6796 (patch) | |
tree | ae096cc7ae57ae9ec9658ca3c0c2bf4e6ca949a1 /src/fuzzy_storage.h | |
parent | 123886d49937ccefc547079f57ca4ef2f11bc312 (diff) | |
download | rspamd-b26afb57c80333a9b5a68a31d613bed32e2c6796.tar.gz rspamd-b26afb57c80333a9b5a68a31d613bed32e2c6796.zip |
Start total rework of fuzzy_storage.
Diffstat (limited to 'src/fuzzy_storage.h')
-rw-r--r-- | src/fuzzy_storage.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/fuzzy_storage.h b/src/fuzzy_storage.h index 9db779c33..037f21a79 100644 --- a/src/fuzzy_storage.h +++ b/src/fuzzy_storage.h @@ -24,8 +24,13 @@ struct legacy_fuzzy_cmd { struct rspamd_fuzzy_cmd { guint8 version; guint8 cmd; - guint16 size; - struct rspamd_shingle sh; + guint16 shingles_count; + gchar digest[64]; +}; + +struct rspamd_fuzzy_shingle_cmd { + struct rspamd_fuzzy_cmd basic; + struct rspamd_shingle sgl; }; struct rspamd_fuzzy_reply { |