NeoMutt  2023-03-22-27-g3cb248
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#include "core/lib.h"
27
28struct Buffer;
29struct stat;
30
31int mutt_mailbox_check (struct Mailbox *m_cur, CheckStatsFlags flags);
32void mutt_mailbox_cleanup (const char *path, struct stat *st);
33bool mutt_mailbox_list (void);
34struct Mailbox *mutt_mailbox_next(struct Mailbox *m_cur, struct Buffer *s);
35struct Mailbox *mutt_mailbox_next_unread(struct Mailbox *m_cur, struct Buffer *s);
36bool mutt_mailbox_notify (struct Mailbox *m_cur);
38
39#endif /* MUTT_MUTT_MAILBOX_H */
Convenience wrapper for the core headers.
int mutt_mailbox_check(struct Mailbox *m_cur, CheckStatsFlags flags)
Check all all Mailboxes for new mail.
Definition: mutt_mailbox.c:156
void mutt_mailbox_set_notified(struct Mailbox *m)
Note when the user was last notified of new mail.
Definition: mutt_mailbox.c:312
struct Mailbox * mutt_mailbox_next_unread(struct Mailbox *m_cur, struct Buffer *s)
Find next mailbox with unread mail.
Definition: mutt_mailbox.c:404
bool mutt_mailbox_notify(struct Mailbox *m_cur)
Notify the user if there's new mail.
Definition: mutt_mailbox.c:230
struct Mailbox * mutt_mailbox_next(struct Mailbox *m_cur, struct Buffer *s)
Incoming folders completion routine.
Definition: mutt_mailbox.c:378
bool mutt_mailbox_list(void)
List the mailboxes with new mail.
Definition: mutt_mailbox.c:243
void mutt_mailbox_cleanup(const char *path, struct stat *st)
Restore the timestamp of a mailbox.
Definition: mutt_mailbox.c:424
uint8_t CheckStatsFlags
Flags for mutt_mailbox_check.
Definition: mxapi.h:73
String manipulation buffer.
Definition: buffer.h:34
A mailbox.
Definition: mailbox.h:79