diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2020-01-29 15:03:08 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2020-01-29 15:03:08 +0000 |
commit | 971025ceca5af31e11a1d079302365bb6f3d7f8c (patch) | |
tree | da5707f0ec99f965b22ae0adabfdf28f69da5bba /src/libmime/scan_result.h | |
parent | 3f7e7ef47f25974950e1ecf114a3430d11b63b9a (diff) | |
download | rspamd-971025ceca5af31e11a1d079302365bb6f3d7f8c.tar.gz rspamd-971025ceca5af31e11a1d079302365bb6f3d7f8c.zip |
[Rework] Rework options hash structure
Diffstat (limited to 'src/libmime/scan_result.h')
-rw-r--r-- | src/libmime/scan_result.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/libmime/scan_result.h b/src/libmime/scan_result.h index 3b222fffb..74d0d81b9 100644 --- a/src/libmime/scan_result.h +++ b/src/libmime/scan_result.h @@ -20,6 +20,7 @@ struct rspamd_classifier_config; struct rspamd_symbol_option { gchar *option; + gsize optlen; struct rspamd_symbol_option *prev, *next; }; @@ -142,7 +143,9 @@ struct rspamd_symbol_result *rspamd_task_insert_result_full (struct rspamd_task * @param opt */ gboolean rspamd_task_add_result_option (struct rspamd_task *task, - struct rspamd_symbol_result *s, const gchar *opt); + struct rspamd_symbol_result *s, + const gchar *opt, + gsize vlen); /** * Finds symbol result |