This serie factorizes the commit message operation. The first 6 patchs
reorganize the code or add new functions so that mailboxes all have a
function with the same prototype to commit a message.

The last patch adds a commit_msg to the structure containg mailbox
operations.

Changes in v2:
 - Fix missing break when adding mmdf_commit_message

Damien Riegel (7):
  remove unused HEADER parameter in mh_commit_message
  prepend maildir_commit_message function name with an underscore
  add maildir_commit_message function
  add imap_commit_message function
  add mbox_commit_message function
  add mmdf_commit_message function
  add commit_msg to struct mx_ops

 imap/imap.c         |  1 +
 imap/imap_private.h |  1 +
 imap/message.c      | 10 ++++++++++
 mbox.c              | 22 ++++++++++++++++++++++
 mh.c                | 19 +++++++++++++------
 mutt.h              |  1 +
 mx.c                | 42 +++++-------------------------------------
 mx.h                |  3 ---
 8 files changed, 53 insertions(+), 46 deletions(-)

-- 
2.8.3

Reply via email to