aboutsummaryrefslogtreecommitdiffstats
path: root/src/message.h
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rambler-co.ru>2010-07-25 16:58:11 +0400
committerVsevolod Stakhov <vsevolod@rambler-co.ru>2010-07-25 16:58:11 +0400
commit34ae83f0151a3fd31f4c045968defa39a2c40985 (patch)
tree3bb121336c76d16e3e5257c12a7905af0e04b70f /src/message.h
parent4a8c30c78940a9153de23dc4d031273649e93cce (diff)
downloadrspamd-34ae83f0151a3fd31f4c045968defa39a2c40985.tar.gz
rspamd-34ae83f0151a3fd31f4c045968defa39a2c40985.zip
* Add rspamd_log variable to lua plugins to access logging functions
* Each part in rspamd task now can have parent part * Check for parts distance only for multipart/alternative subparts * Do not check attachements even if they are text (but attached as file) * Do not die if write (2) returned ENOSPACE while doing logging, turn on throttling mode instead (1 write try in a second) * Add ability to turn on debug for specific symbols * Add ability to configure dns timeouts and dns retransmits in config file
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 abebe4862..db42f2094 100644
--- a/src/message.h
+++ b/src/message.h
@@ -15,6 +15,7 @@ struct controller_session;
struct mime_part {
GMimeContentType *type;
GByteArray *content;
+ GMimeObject *parent;
};
struct mime_text_part {
@@ -30,6 +31,7 @@ struct mime_text_part {
GTree *urls;
GTree *html_urls;
fuzzy_hash_t *fuzzy;
+ GMimeObject *parent;
};
struct received_header {