diff options
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 { |