From: Richard Russon Date: Thu, 6 Sep 2018 16:54:13 +0000 (+0100) Subject: fix mxapi comments X-Git-Tag: 2019-10-25~657^2~25 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=edd9f01ea1d8a58c80a825ba5cbcb0ddf9f9bf73;p=neomutt fix mxapi comments --- diff --git a/mx.h b/mx.h index 489e7e648..861da8cde 100644 --- 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?