diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2020-04-15 15:19:52 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2020-04-15 15:19:52 +0100 |
commit | c6822d66ed9825d317f6e59526d35974ccdaa1b2 (patch) | |
tree | a03f1af5fa790d3c68eac8b7322e388979ba4baa /src/libmime/images.h | |
parent | 4068f84ca27fef18cd6d34bb271a7a3ee4ef89b2 (diff) | |
download | rspamd-c6822d66ed9825d317f6e59526d35974ccdaa1b2.tar.gz rspamd-c6822d66ed9825d317f6e59526d35974ccdaa1b2.zip |
[Minor] Try to process images before text part heuristic
Diffstat (limited to 'src/libmime/images.h')
-rw-r--r-- | src/libmime/images.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/libmime/images.h b/src/libmime/images.h index 964a1b35a..887f30a37 100644 --- a/src/libmime/images.h +++ b/src/libmime/images.h @@ -39,6 +39,15 @@ struct rspamd_image { */ void rspamd_images_process (struct rspamd_task *task); +/** + * Process image if possible in a single mime part + * @param task + * @param part + * @return + */ +bool rspamd_images_process_mime_part_maybe (struct rspamd_task *task, + struct rspamd_mime_part *part); + /* * Link embedded images to the HTML parts */ |