NeoMutt  2024-04-25-85-g27bab4
Teaching an old dog new tricks
DOXYGEN
Loading...
Searching...
No Matches
mutt_mailbox.h
Go to the documentation of this file.
1
24#ifndef MUTT_MUTT_MAILBOX_H
25#define MUTT_MUTT_MAILBOX_H
26
27#include <stdbool.h>
28#include "core/lib.h"
29
30struct Buffer;
31struct stat;
32
33int mutt_mailbox_check (struct Mailbox *m_cur, CheckStatsFlags flags);
34void mailbox_restore_timestamp(const char *path, struct stat *st);
35bool mutt_mailbox_list (void);
36struct Mailbox *mutt_mailbox_next(struct Mailbox *m_cur, struct Buffer *s);
37struct Mailbox *mutt_mailbox_next_unread(struct Mailbox *m_cur, struct Buffer *s);
38bool mutt_mailbox_notify (struct Mailbox *m_cur);
40
41#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:169
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:387
bool mutt_mailbox_notify(struct Mailbox *m_cur)
Notify the user if there's new mail.
Definition: mutt_mailbox.c:235
struct Mailbox * mutt_mailbox_next(struct Mailbox *m_cur, struct Buffer *s)
Incoming folders completion routine.
Definition: mutt_mailbox.c:361
bool mutt_mailbox_list(void)
Show a message with the list of mailboxes with new mail.
Definition: mutt_mailbox.c:248
void mailbox_restore_timestamp(const char *path, struct stat *st)
Restore the timestamp of a mailbox.
Definition: mutt_mailbox.c:407
uint8_t CheckStatsFlags
Flags for mutt_mailbox_check.
Definition: mxapi.h:52
String manipulation buffer.
Definition: buffer.h:36
A mailbox.
Definition: mailbox.h:79