NeoMutt  2021-02-05-666-ge300cd
Teaching an old dog new tricks
DOXYGEN
mutt_mailbox.h
Go to the documentation of this file.
1 
22 #ifndef MUTT_MUTT_MAILBOX_H
23 #define MUTT_MUTT_MAILBOX_H
24 
25 #include <stdbool.h>
26 
27 struct Buffer;
28 struct Mailbox;
29 struct stat;
30 
31 /* force flags passed to mutt_mailbox_check() */
32 #define MUTT_MAILBOX_CHECK_FORCE (1 << 0)
33 #define MUTT_MAILBOX_CHECK_FORCE_STATS (1 << 1)
34 
35 int mutt_mailbox_check (struct Mailbox *m_cur, int force);
36 void mutt_mailbox_cleanup (const char *path, struct stat *st);
37 bool mutt_mailbox_list (void);
38 struct Mailbox *mutt_mailbox_next(struct Mailbox *m_cur, struct Buffer *s);
39 bool mutt_mailbox_notify (struct Mailbox *m_cur);
40 void mutt_mailbox_set_notified(struct Mailbox *m);
41 
42 #endif /* MUTT_MUTT_MAILBOX_H */
bool mutt_mailbox_list(void)
List the mailboxes with new mail.
Definition: mutt_mailbox.c:222
String manipulation buffer.
Definition: buffer.h:33
void mutt_mailbox_set_notified(struct Mailbox *m)
Note when the user was last notified of new mail.
Definition: mutt_mailbox.c:291
int mutt_mailbox_check(struct Mailbox *m_cur, int force)
Check all all Mailboxes for new mail.
Definition: mutt_mailbox.c:137
struct Mailbox * mutt_mailbox_next(struct Mailbox *m_cur, struct Buffer *s)
incoming folders completion routine
Definition: mutt_mailbox.c:314
void mutt_mailbox_cleanup(const char *path, struct stat *st)
Restore the timestamp of a mailbox.
Definition: mutt_mailbox.c:360
A mailbox.
Definition: mailbox.h:81
bool mutt_mailbox_notify(struct Mailbox *m_cur)
Notify the user if there&#39;s new mail.
Definition: mutt_mailbox.c:209