]> granicus.if.org Git - neomutt/commitdiff
fix mxapi comments
authorRichard Russon <rich@flatcap.org>
Thu, 6 Sep 2018 16:54:13 +0000 (17:54 +0100)
committerRichard Russon <rich@flatcap.org>
Sun, 9 Sep 2018 15:09:27 +0000 (16:09 +0100)
mx.h

diff --git a/mx.h b/mx.h
index 489e7e6488f9715873fc7891dfeb1816ddd32c3d..861da8cde21cf433a796d11ecaac8a2596c67468 100644 (file)
--- a/mx.h
+++ b/mx.h
@@ -173,15 +173,11 @@ struct MxOps
    */
   int (*msg_close)       (struct Context *ctx, struct Message *msg);
   /**
-   * tags_commit - Save the tags to a message
+   * msg_padding_size - Bytes of padding between messages
    * @param ctx Mailbox
-   * @param hdr Email Header
-   * @param buf Buffer containing tags
-   * @retval  0 Success
-   * @retval -1 Failure
+   * @retval num Bytes of padding
    */
   int (*msg_padding_size)(struct Context *ctx);
-  int (*tags_edit)       (struct Context *ctx, const char *tags, char *buf, size_t buflen);
   /**
    * tags_edit - Prompt and validate new messages tags
    * @param ctx    Mailbox
@@ -192,6 +188,15 @@ struct MxOps
    * @retval  0 No valid user input
    * @retval  1 Buf set
    */
+  int (*tags_edit)       (struct Context *ctx, const char *tags, char *buf, size_t buflen);
+  /**
+   * tags_commit - Save the tags to a message
+   * @param ctx Mailbox
+   * @param hdr Email Header
+   * @param buf Buffer containing tags
+   * @retval  0 Success
+   * @retval -1 Failure
+   */
   int (*tags_commit)     (struct Context *ctx, struct Header *hdr, char *buf);
   /**
    * path_probe - Does this mailbox type recognise this path?