From: Richard Russon Date: Wed, 21 Nov 2018 14:48:19 +0000 (+0000) Subject: light tidying X-Git-Tag: 2019-10-25~500^2~23 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1d9a0fc741703a74f31532b2d180b37cfaa2ee52;p=neomutt light tidying --- diff --git a/mx.c b/mx.c index 5bba0688b..db386f75d 100644 --- a/mx.c +++ b/mx.c @@ -1099,7 +1099,7 @@ struct Message *mx_msg_open_new(struct Mailbox *m, struct Email *e, int flags) } /** - * mx_mbox_check - check for new mail + * mx_mbox_check - Check for new mail - Wrapper for MxOps::mbox_check() * @param ctx Mailbox * @param index_hint Current email * @retval >0 Success, e.g. #MUTT_NEW_MAIL diff --git a/mx.h b/mx.h index da521433f..1bedef721 100644 --- a/mx.h +++ b/mx.h @@ -268,21 +268,20 @@ enum MailboxType mx_path_probe (const char *path, struct stat *st); int mx_tags_commit (struct Mailbox *m, struct Email *e, char *tags); int mx_tags_edit (struct Mailbox *m, const char *tags, char *buf, size_t buflen); -struct Account *mx_ac_find(struct Mailbox *m); -struct Mailbox *mx_mbox_find(struct Account *a, const char *path); +struct Account *mx_ac_find (struct Mailbox *m); +struct Mailbox *mx_mbox_find (struct Account *a, const char *path); struct Mailbox *mx_mbox_find2(const char *path); -int mx_ac_add(struct Account *a, struct Mailbox *m); -int mx_ac_remove(struct Mailbox *m); +int mx_ac_add (struct Account *a, struct Mailbox *m); +int mx_ac_remove (struct Mailbox *m); -int mx_access(const char *path, int flags); -void mx_alloc_memory(struct Mailbox *m); -int mx_check_empty(const char *path); -int mx_check_mailbox(struct Context *ctx, int *index_hint); +int mx_access (const char *path, int flags); +void mx_alloc_memory (struct Mailbox *m); +int mx_check_empty (const char *path); void mx_fastclose_mailbox(struct Context *ctx); -const struct MxOps *mx_get_ops(enum MailboxType magic); +const struct MxOps *mx_get_ops (enum MailboxType magic); bool mx_tags_is_supported(struct Mailbox *m); -void mx_update_context(struct Context *ctx, int new_messages); -void mx_update_tables(struct Context *ctx, bool committing); -void mx_cleanup_context(struct Context *ctx); +void mx_update_context (struct Context *ctx, int new_messages); +void mx_update_tables (struct Context *ctx, bool committing); +void mx_cleanup_context (struct Context *ctx); #endif /* MUTT_MX_H */