#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)
gchar *dispositionnotificationto;
gchar *returnreceiptto;
+ gchar *resent_from;
+
/* used only for partially received messages */
gchar *partial_recv;
gchar *account_server;
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);
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,
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);