aboutsummaryrefslogtreecommitdiffstats
path: root/em-format/em-format.h
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2009-10-15 20:25:38 +0800
committerMilan Crha <mcrha@redhat.com>2009-10-15 20:25:38 +0800
commit13651b3d19f142162f310a7e3aead064ef765dd7 (patch)
treea9071894b14a915c2c4433f60a405030b87ac1d9 /em-format/em-format.h
parent6c9d435e6724214031085b34a5f562e51950baad (diff)
downloadgsoc2013-evolution-13651b3d19f142162f310a7e3aead064ef765dd7.tar
gsoc2013-evolution-13651b3d19f142162f310a7e3aead064ef765dd7.tar.gz
gsoc2013-evolution-13651b3d19f142162f310a7e3aead064ef765dd7.tar.bz2
gsoc2013-evolution-13651b3d19f142162f310a7e3aead064ef765dd7.tar.lz
gsoc2013-evolution-13651b3d19f142162f310a7e3aead064ef765dd7.tar.xz
gsoc2013-evolution-13651b3d19f142162f310a7e3aead064ef765dd7.tar.zst
gsoc2013-evolution-13651b3d19f142162f310a7e3aead064ef765dd7.zip
Bug #314333 - Decrypt body in reply to an inline-PGP encrypted mail
Diffstat (limited to 'em-format/em-format.h')
-rw-r--r--em-format/em-format.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/em-format/em-format.h b/em-format/em-format.h
index 7e59ecf462..d3a331b6d6 100644
--- a/em-format/em-format.h
+++ b/em-format/em-format.h
@@ -181,6 +181,11 @@ struct _EMFormatHeader {
#define EM_FORMAT_HEADER_BOLD (1<<0)
#define EM_FORMAT_HEADER_LAST (1<<4) /* reserve 4 slots */
+#define EM_FORMAT_VALIDITY_FOUND_PGP (1<<0)
+#define EM_FORMAT_VALIDITY_FOUND_SMIME (1<<1)
+#define EM_FORMAT_VALIDITY_FOUND_SIGNED (1<<2)
+#define EM_FORMAT_VALIDITY_FOUND_ENCRYPTED (1<<3)
+
/**
* struct _EMFormat - Mail formatter object.
*
@@ -231,6 +236,8 @@ struct _EMFormat {
/* for validity enveloping */
CamelCipherValidity *valid;
CamelCipherValidity *valid_parent;
+ /* for checking whether found any signed/encrypted parts */
+ guint32 validity_found;
/* for forcing inlining */
GHashTable *inline_table;