#define MSG_SET_COLORLABEL_VALUE(msg, val) \
MSG_SET_PERM_FLAGS(msg, ((((guint)(val)) & 7) << MSG_CLABEL_SBIT))
-#define MSG_COLORLABEL_TO_FLAGS(val) ((((guint)(val)) & 7) << MSG_CLABEL_SBIT)
-#define MSG_COLORLABEL_FROM_FLAGS(val) (val >> MSG_CLABEL_SBIT)
-
#define MSG_IS_MOVE(msg) (((msg).tmp_flags & MSG_MOVE) != 0)
#define MSG_IS_COPY(msg) (((msg).tmp_flags & MSG_COPY) != 0)
/* used only for encrypted messages */
gchar *plaintext_file;
guint decryption_failed : 1;
+
+ gint priority;
};
GHashTable *procmsg_msg_hash_table_create (GSList *mlist);
FILE *fp);
void procmsg_write_flags (MsgInfo *msginfo,
FILE *fp);
+void procmsg_flush_mark_queue (FolderItem *item,
+ FILE *fp);
+void procmsg_add_flags (FolderItem *item,
+ gint num,
+ MsgFlags flags);
void procmsg_get_mark_sum (const gchar *folder,
gint *new,
gint *unread,
gboolean procmsg_msg_exist (MsgInfo *msginfo);
void procmsg_empty_trash (void);
-gint procmsg_send_queue (void);
+gint procmsg_send_queue (FolderItem *queue,
+ gboolean save_msgs);
+gint procmsg_save_to_outbox (FolderItem *outbox,
+ const gchar *file,
+ gboolean is_queued);
void procmsg_print_message (MsgInfo *msginfo,
const gchar *cmdline);
gconstpointer b);
gint procmsg_send_message_queue (const gchar *file);
-void procmsg_msginfo_set_flags (MsgInfo *msginfo,
- MsgPermFlags perm_flags,
- MsgTmpFlags tmp_flags);
-void procmsg_msginfo_unset_flags (MsgInfo *msginfo,
- MsgPermFlags perm_flags,
- MsgTmpFlags tmp_flags);
-
#endif /* __PROCMSG_H__ */