/*
* Sylpheed -- a GTK+ based, lightweight, and fast e-mail client
- * Copyright (C) 1999-2004 Hiroyuki Yamamoto
+ * Copyright (C) 1999-2006 Hiroyuki Yamamoto and the Sylpheed-Claws team
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
#ifndef __PROCMSG_H__
#define MSGINFO_UPDATE_HOOKLIST "msginfo_update"
#define MAIL_FILTERING_HOOKLIST "mail_filtering_hooklist"
+#define MAIL_POSTFILTERING_HOOKLIST "mail_postfiltering_hooklist"
typedef enum {
MSGINFO_UPDATE_FLAGS = 1 << 0,
- MSGINFO_UPDATE_DELETED = 1 << 1,
+ MSGINFO_UPDATE_DELETED = 1 << 1
} MsgInfoUpdateFlags;
#include "procmime.h"
FolderItem *to_folder;
gchar *xface;
+ gchar *face;
gchar *dispositionnotificationto;
gchar *returnreceiptto;
gchar *fromspace;
gint score;
- gint threadscore;
/* used only for encrypted messages */
gchar *plaintext_file;
GNode *procmsg_get_thread_tree (GSList *mlist);
-void procmsg_move_messages (GSList *mlist);
+gint procmsg_move_messages (GSList *mlist);
void procmsg_copy_messages (GSList *mlist);
/* return path is locale charset */
gint procmsg_send_queue (FolderItem *queue,
gboolean save_msgs);
+gboolean procmsg_queue_is_empty (FolderItem *queue);
gint procmsg_save_to_outbox (FolderItem *outbox,
const gchar *file,
gboolean is_queued);
void procmsg_msginfo_unset_flags (MsgInfo *msginfo,
MsgPermFlags perm_flags,
MsgTmpFlags tmp_flags);
+void procmsg_msginfo_change_flags (MsgInfo *msginfo,
+ MsgPermFlags add_perm_flags,
+ MsgTmpFlags add_tmp_flags,
+ MsgPermFlags rem_perm_flags,
+ MsgTmpFlags rem_tmp_flags);
gint procmsg_remove_special_headers (const gchar *in,
const gchar *out);