aboutsummaryrefslogtreecommitdiffstats
path: root/mail/em-format.h
diff options
context:
space:
mode:
authorSrinivasa Ragavan <sragavan@novell.com>2006-11-27 02:30:29 +0800
committerSrinivasa Ragavan <sragavan@src.gnome.org>2006-11-27 02:30:29 +0800
commit0a7017c1a673ec61479db348d7ff7452b19f664e (patch)
treec5f84ec17098333fb9498ae98a70b3832c2a5f1e /mail/em-format.h
parentd8b4b86497a9b95433b2fe967d3bec62cd6bc69c (diff)
downloadgsoc2013-evolution-0a7017c1a673ec61479db348d7ff7452b19f664e.tar
gsoc2013-evolution-0a7017c1a673ec61479db348d7ff7452b19f664e.tar.gz
gsoc2013-evolution-0a7017c1a673ec61479db348d7ff7452b19f664e.tar.bz2
gsoc2013-evolution-0a7017c1a673ec61479db348d7ff7452b19f664e.tar.lz
gsoc2013-evolution-0a7017c1a673ec61479db348d7ff7452b19f664e.tar.xz
gsoc2013-evolution-0a7017c1a673ec61479db348d7ff7452b19f664e.tar.zst
gsoc2013-evolution-0a7017c1a673ec61479db348d7ff7452b19f664e.zip
Fix for bug #337439 DoS attach with large emails
2006-11-26 Srinivasa Ragavan <sragavan@novell.com> * Fix for bug #337439 DoS attach with large emails svn path=/trunk/; revision=33024
Diffstat (limited to 'mail/em-format.h')
-rw-r--r--mail/em-format.h4
1 files changed, 4 insertions, 0 deletions
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 *);