]> granicus.if.org Git - neomutt/commitdiff
light tidying
authorRichard Russon <rich@flatcap.org>
Wed, 21 Nov 2018 14:48:19 +0000 (14:48 +0000)
committerRichard Russon <rich@flatcap.org>
Thu, 22 Nov 2018 13:45:24 +0000 (13:45 +0000)
mx.c
mx.h

diff --git a/mx.c b/mx.c
index 5bba0688b7f826f60b66bd3b297870abb6176482..db386f75dadf6349627cae0080d4e1e09d7e7661 100644 (file)
--- 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 da521433f9e04d00d14a608dfed6f9ec96253164..1bedef7212308d1362587a7c1e4986d809227d49 100644 (file)
--- 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 */