aboutsummaryrefslogtreecommitdiff
path: root/libsylph/procmsg.h
diff options
context:
space:
mode:
authorhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2006-08-23 03:55:56 +0000
committerhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2006-08-23 03:55:56 +0000
commit50eeb3d818c7c36f03d0c195c48528c2cd2731ee (patch)
treede0247b4b7024749c8945ec3c998e55f677a8f86 /libsylph/procmsg.h
parent830583f24a6753bea7aae2704c41303ff6b0ad03 (diff)
added signature information to MsgInfo.
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@1128 ee746299-78ed-0310-b773-934348b2243d
Diffstat (limited to 'libsylph/procmsg.h')
-rw-r--r--libsylph/procmsg.h14
1 files changed, 11 insertions, 3 deletions
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);