summaryrefslogtreecommitdiffstats
path: root/src/message.h
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rambler-co.ru>2009-05-15 18:15:54 +0400
committerVsevolod Stakhov <vsevolod@rambler-co.ru>2009-05-15 18:15:54 +0400
commit8647250389da44e3cec0f9f7c0c2e4c47c93195c (patch)
tree4e34957983d08c3f8d7ba41e23770ed09c39aaf5 /src/message.h
parent784dbf335644c385fb0f3a1fae70e3886f3b6f6e (diff)
downloadrspamd-8647250389da44e3cec0f9f7c0c2e4c47c93195c.tar.gz
rspamd-8647250389da44e3cec0f9f7c0c2e4c47c93195c.zip
* Add simple html parser and tag balancing detector
* Add function for searching html tag
Diffstat (limited to 'src/message.h')
-rw-r--r--src/message.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/message.h b/src/message.h
index 9e9b5de1f..72711638f 100644
--- a/src/message.h
+++ b/src/message.h
@@ -17,8 +17,10 @@ struct mime_part {
struct mime_text_part {
gboolean is_html;
gboolean is_raw;
+ gboolean is_balanced;
GByteArray *orig;
GByteArray *content;
+ GNode *html_nodes;
fuzzy_hash_t *fuzzy;
};