forked from neomutt/neomutt
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmutt_mailbox.h
28 lines (22 loc) · 909 Bytes
/
mutt_mailbox.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#ifndef MUTT_MUTT_MAILBOX_H
#define MUTT_MUTT_MAILBOX_H
#include <stddef.h>
#include <stdbool.h>
struct Buffer;
struct Mailbox;
struct stat;
/* These Config Variables are only used in mutt_mailbox.c */
extern short C_MailCheck;
extern bool C_MailCheckStats;
extern short C_MailCheckStatsInterval;
/* force flags passed to mutt_mailbox_check() */
#define MUTT_MAILBOX_CHECK_FORCE (1 << 0)
#define MUTT_MAILBOX_CHECK_FORCE_STATS (1 << 1)
int mutt_mailbox_check (struct Mailbox *m_cur, int force);
void mutt_mailbox_cleanup (const char *path, struct stat *st);
bool mutt_mailbox_list (void);
void mutt_mailbox_next (struct Mailbox *m_cur, char *s, size_t slen);
void mutt_mailbox_next_buffer (struct Mailbox *m_cur, struct Buffer *s);
bool mutt_mailbox_notify (struct Mailbox *m_cur);
void mutt_mailbox_set_notified(struct Mailbox *m);
#endif /* MUTT_MUTT_MAILBOX_H */