NeoMutt
2025-12-11-1039-g550ac6
Teaching an old dog new tricks
DOXYGEN
Toggle main menu visibility
Loading...
Searching...
No Matches
mutt_mailbox.h
Go to the documentation of this file.
1
23
24
#ifndef MUTT_MUTT_MAILBOX_H
25
#define MUTT_MUTT_MAILBOX_H
26
27
#include <stdbool.h>
28
#include "
core/lib.h
"
29
30
struct
Buffer
;
31
struct
stat;
32
33
int
mutt_mailbox_check
(
struct
Mailbox
*m_cur,
CheckStatsFlags
flags);
34
void
mailbox_restore_timestamp
(
const
char
*path,
struct
stat *st);
35
bool
mutt_mailbox_list
(
void
);
36
struct
Mailbox
*
mutt_mailbox_next
(
struct
Mailbox
*m_cur,
struct
Buffer
*s);
37
struct
Mailbox
*
mutt_mailbox_next_unread
(
struct
Mailbox
*m_cur,
struct
Buffer
*s);
38
struct
Mailbox
*
mutt_mailbox_prev_unread
(
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 */
lib.h
Convenience wrapper for the core headers.
mutt_mailbox_check
int mutt_mailbox_check(struct Mailbox *m_cur, CheckStatsFlags flags)
Check all all Mailboxes for new mail.
Definition
mutt_mailbox.c:169
mutt_mailbox_set_notified
void mutt_mailbox_set_notified(struct Mailbox *m)
Note when the user was last notified of new mail.
Definition
mutt_mailbox.c:304
mutt_mailbox_next_unread
struct Mailbox * mutt_mailbox_next_unread(struct Mailbox *m_cur, struct Buffer *s)
Find next mailbox with unread mail.
Definition
mutt_mailbox.c:388
mutt_mailbox_notify
bool mutt_mailbox_notify(struct Mailbox *m_cur)
Notify the user if there's new mail.
Definition
mutt_mailbox.c:234
mutt_mailbox_next
struct Mailbox * mutt_mailbox_next(struct Mailbox *m_cur, struct Buffer *s)
Incoming folders completion routine.
Definition
mutt_mailbox.c:362
mutt_mailbox_list
bool mutt_mailbox_list(void)
Show a message with the list of mailboxes with new mail.
Definition
mutt_mailbox.c:247
mutt_mailbox_prev_unread
struct Mailbox * mutt_mailbox_prev_unread(struct Mailbox *m_cur, struct Buffer *s)
Find previous mailbox with unread mail.
Definition
mutt_mailbox.c:454
mailbox_restore_timestamp
void mailbox_restore_timestamp(const char *path, struct stat *st)
Restore the timestamp of a mailbox.
Definition
mutt_mailbox.c:474
CheckStatsFlags
uint8_t CheckStatsFlags
Definition
mxapi.h:63
Buffer
String manipulation buffer.
Definition
buffer.h:36
Mailbox
A mailbox.
Definition
mailbox.h:81