diff options
author | Milan Crha <mcrha@redhat.com> | 2012-11-22 00:57:07 +0800 |
---|---|---|
committer | Milan Crha <mcrha@redhat.com> | 2012-11-22 00:57:07 +0800 |
commit | abdefcaa26ca7116bfc5b7aaa9ee2f04de533ecb (patch) | |
tree | d89b190c1e54b9579b4bd707cd6834a0e97dd9b5 /em-format/e-mail-part.h | |
parent | ce64eb6ba1f35ffdd09029498a6d4eb631a9bfca (diff) | |
download | gsoc2013-evolution-abdefcaa26ca7116bfc5b7aaa9ee2f04de533ecb.tar.gz gsoc2013-evolution-abdefcaa26ca7116bfc5b7aaa9ee2f04de533ecb.tar.zst gsoc2013-evolution-abdefcaa26ca7116bfc5b7aaa9ee2f04de533ecb.zip |
Bug #687670 - Signing with both pgp and S/MIME shows only one signature
Diffstat (limited to 'em-format/e-mail-part.h')
-rw-r--r-- | em-format/e-mail-part.h | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/em-format/e-mail-part.h b/em-format/e-mail-part.h index 3d2e9628eb..82e417cb80 100644 --- a/em-format/e-mail-part.h +++ b/em-format/e-mail-part.h @@ -43,6 +43,13 @@ enum { E_MAIL_PART_VALIDITY_ENCRYPTED = 1 << 3 } EMailPartValidityFlags; +typedef struct _EMailPartValidityPair EMailPartValidityPair; + +struct _EMailPartValidityPair { + guint32 validity_type; /* E_MAIL_PART_VALIDITY_ * flags */ + CamelCipherValidity *validity; +}; + struct _EMailPart { EMailPartPrivate *priv; @@ -53,9 +60,7 @@ struct _EMailPart { gchar *cid; gchar *mime_type; - guint32 validity_type; /* E_MAIL_PART_VALIDITY_ * flags */ - CamelCipherValidity *validity; - CamelCipherValidity *validity_parent; + GSList *validities; /* EMailPartValidityPair pointer */ gint is_attachment: 1; @@ -92,6 +97,9 @@ gsize e_mail_part_get_instance_size (EMailPart *part); void e_mail_part_update_validity (EMailPart *part, CamelCipherValidity *validity, guint32 validity_type); +CamelCipherValidity * + e_mail_part_get_validity (EMailPart *part, + guint32 validity_type); G_END_DECLS |