0.9.3claws68
[claws.git] / src / procmsg.h
index e794c94027228d4625edec5bbc6fe117db3c2088..245308711ffea4603d13b3c9b824376d79abdd92 100644 (file)
@@ -32,6 +32,7 @@
 
 typedef struct _MsgInfo                        MsgInfo;
 typedef struct _MsgFlags               MsgFlags;
+typedef struct _MsgFileInfo            MsgFileInfo;
 typedef struct _MsgInfoUpdate          MsgInfoUpdate;
 typedef struct _MailFilteringData      MailFilteringData;
 
@@ -72,6 +73,7 @@ typedef GSList MsgNumberList;
 #define MSG_LOCKED             (1U << 11)   /* msg is locked  */
 #define MSG_RETRCPT_PENDING    (1U << 12)   /* return receipt pending */
 /* RESERVED */
+#define        MSG_RESERVED_CLAWS      (1U << 30)   /* for sylpheed-claws */
 #define        MSG_RESERVED            (1U << 31)
 
 typedef guint32 MsgPermFlags;
@@ -193,6 +195,13 @@ struct _MsgInfo
        guint decryption_failed : 1;
 };
 
+struct _MsgFileInfo
+{
+       MsgInfo *msginfo;
+        gchar *file;
+        MsgFlags *flags;
+};
+
 struct _MsgInfoUpdate {
        MsgInfo *msginfo;
 };
@@ -226,6 +235,8 @@ void        procmsg_copy_messages           (GSList         *mlist);
 
 gchar  *procmsg_get_message_file_path  (MsgInfo        *msginfo);
 gchar  *procmsg_get_message_file       (MsgInfo        *msginfo);
+GSList *procmsg_get_message_file_list  (MsgInfoList    *mlist);
+void   procmsg_message_file_list_free  (MsgInfoList    *file_list);
 FILE   *procmsg_open_message           (MsgInfo        *msginfo);
 #if USE_GPGME
 FILE   *procmsg_open_message_decrypted (MsgInfo        *msginfo,