Remove stale MSG_IS_RETRCPT_PENDING
[claws.git] / src / procmsg.h
index 52b04c0652b5a90b62a0d03a29d136f67b25fa4f..0f46515747133c2d9557891ee6369e98d8f85d1f 100644 (file)
 #define MSG_IS_SCANNED(msg)            (((msg).tmp_flags & MSG_SCANNED) != 0)
 
 /* Claws related flags */
-#define MSG_IS_REALLY_DELETED(msg)     (((msg).perm_flags & MSG_REALLY_DELETED) != 0)
 #define MSG_IS_IGNORE_THREAD(msg)      (((msg).perm_flags & MSG_IGNORE_THREAD) != 0)
-#define MSG_IS_RETRCPT_PENDING(msg)    (((msg).perm_flags & MSG_RETRCPT_PENDING) != 0)
 #define MSG_IS_RETRCPT_SENT(msg)       (((msg).perm_flags & MSG_RETRCPT_SENT) != 0)
 #define MSG_IS_RETRCPT_GOT(msg)                (((msg).perm_flags & MSG_RETRCPT_GOT) != 0)
 #define MSG_IS_SPAM(msg)               (((msg).perm_flags & MSG_SPAM) != 0)
@@ -244,6 +242,8 @@ struct _MsgInfoExtraData
        gchar *dispositionnotificationto;
        gchar *returnreceiptto;
 
+       gchar *resent_from;
+
        /* used only for partially received messages */
        gchar *partial_recv;
        gchar *account_server;
@@ -333,8 +333,6 @@ gint        procmsg_send_queue              (FolderItem     *queue,
 gboolean procmsg_queue_lock            (gchar          **errstr);
 void     procmsg_queue_unlock          (void);
 gboolean procmsg_queue_is_empty        (FolderItem *queue);
-void   procmsg_print_message           (MsgInfo        *msginfo,
-                                        const gchar    *cmdline);
 
 MsgInfo *procmsg_msginfo_new           ();
 MsgInfo *procmsg_msginfo_new_ref       (MsgInfo        *msginfo);
@@ -343,7 +341,7 @@ MsgInfo *procmsg_msginfo_get_full_info      (MsgInfo        *msginfo);
 MsgInfo *procmsg_msginfo_get_full_info_from_file
                                        (MsgInfo *msginfo, 
                                        const gchar *file);
-void    procmsg_msginfo_free           (MsgInfo        *msginfo);
+void    procmsg_msginfo_free           (MsgInfo        **msginfo);
 guint   procmsg_msginfo_memusage       (MsgInfo        *msginfo);
 
 gint procmsg_send_message_queue_with_lock(const gchar *file,
@@ -372,6 +370,8 @@ void procmsg_msginfo_change_flags   (MsgInfo *msginfo,
 gint procmsg_remove_special_headers    (const gchar    *in, 
                                         const gchar    *out);
 
+gint procmsg_save_to_outbox(FolderItem *outbox, const gchar *file,
+                           gboolean is_queued);
 gboolean procmsg_msg_has_flagged_parent        (MsgInfo        *info,
                                         MsgPermFlags    perm_flags);
 gboolean procmsg_msg_has_marked_parent (MsgInfo        *info);