NeoMutt
Teaching an old dog new tricks
DOXYGEN
Loading...
Searching...
No Matches
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 mailbox_restore_timestamp(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:165
void mutt_mailbox_set_notified(struct Mailbox *m)
Note when the user was last notified of new mail.
Definition: mutt_mailbox.c:304
struct Mailbox * mutt_mailbox_next_unread(struct Mailbox *m_cur, struct Buffer *s)
Find next mailbox with unread mail.
Definition: mutt_mailbox.c:396
bool mutt_mailbox_notify(struct Mailbox *m_cur)
Notify the user if there's new mail.
Definition: mutt_mailbox.c:236
struct Mailbox * mutt_mailbox_next(struct Mailbox *m_cur, struct Buffer *s)
Incoming folders completion routine.
Definition: mutt_mailbox.c:370
bool mutt_mailbox_list(void)
List the mailboxes with new mail.
Definition: mutt_mailbox.c:249
void mailbox_restore_timestamp(const char *path, struct stat *st)
Restore the timestamp of a mailbox.
Definition: mutt_mailbox.c:416
uint8_t CheckStatsFlags
Flags for mutt_mailbox_check.
Definition: mxapi.h:52
String manipulation buffer.
Definition: buffer.h:34
A mailbox.
Definition: mailbox.h:79