From 0a7017c1a673ec61479db348d7ff7452b19f664e Mon Sep 17 00:00:00 2001 From: Srinivasa Ragavan Date: Sun, 26 Nov 2006 18:30:29 +0000 Subject: Fix for bug #337439 DoS attach with large emails 2006-11-26 Srinivasa Ragavan * Fix for bug #337439 DoS attach with large emails svn path=/trunk/; revision=33024 --- mail/em-format.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'mail/em-format.h') diff --git a/mail/em-format.h b/mail/em-format.h index 8800019a9f..68b067559e 100644 --- a/mail/em-format.h +++ b/mail/em-format.h @@ -226,6 +226,7 @@ struct _EMFormat { em_format_mode_t mode; /* source/headers/etc */ char *charset; /* charset override */ char *default_charset; /* charset fallback */ + gboolean composer; /* Formatting from composer ?*/ }; struct _EMFormatClass { @@ -257,6 +258,9 @@ struct _EMFormatClass { /* returns true if the formatter is still busy with pending stuff */ gboolean (*busy)(EMFormat *); + /* Shows optional way to open messages */ + void (*format_optional)(EMFormat *, struct _CamelStream *, struct _CamelMimePart *, struct _CamelStream* ); + /* signals */ /* complete, alternative to polling busy, for asynchronous work */ void (*complete)(EMFormat *); -- cgit v1.2.3