From 50eeb3d818c7c36f03d0c195c48528c2cd2731ee Mon Sep 17 00:00:00 2001 From: hiro Date: Wed, 23 Aug 2006 03:55:56 +0000 Subject: added signature information to MsgInfo. git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@1128 ee746299-78ed-0310-b773-934348b2243d --- libsylph/procmsg.h | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) (limited to 'libsylph/procmsg.h') diff --git a/libsylph/procmsg.h b/libsylph/procmsg.h index 3fc7e119..32172142 100644 --- a/libsylph/procmsg.h +++ b/libsylph/procmsg.h @@ -33,6 +33,7 @@ typedef struct _MsgInfo MsgInfo; typedef struct _MsgFlags MsgFlags; typedef struct _MsgFileInfo MsgFileInfo; +typedef struct _MsgEncryptInfo MsgEncryptInfo; #include "folder.h" #include "procmime.h" @@ -195,9 +196,8 @@ struct _MsgInfo /* used only for temporary messages */ gchar *file_path; - /* used only for encrypted messages */ - gchar *plaintext_file; - guint decryption_failed : 1; + /* used only for encrypted (and signed) messages */ + MsgEncryptInfo *encinfo; }; struct _MsgFileInfo @@ -206,6 +206,14 @@ struct _MsgFileInfo MsgFlags *flags; }; +struct _MsgEncryptInfo +{ + gchar *plaintext_file; + gchar *sigstatus; + gchar *sigstatus_full; + gboolean decryption_failed; +}; + typedef FILE * (*DecryptMessageFunc) (MsgInfo *msginfo, MimeInfo **mimeinfo); -- cgit v1.2.3