2 * Copyright notice from original mutt:
3 * Copyright (C) 1996-2000 Michael R. Elkins <me@mutt.org>
5 * This file is part of mutt-ng, see http://www.muttng.org/.
6 * It's licensed under the GNU General Public License,
7 * please see the file GPL in the top level source directory.
10 /*parameter to mutt_parse_mailboxes*/
12 #define M_UNMAILBOXES 2
14 typedef struct buffy_t {
18 #endif /* BUFFY_SIZE */
21 short new; /* mailbox has new mail */
22 short has_new; /* set it new if new and not read */
23 int msgcount; /* total number of messages */
24 int msg_unread; /* number of unread messages */
25 int msg_flagged; /* number of flagged messages */
26 short notified; /* user has been notified */
27 short magic; /* mailbox type */
28 short newly_created; /* mbox or mmdf just popped into existence */
31 WHERE BUFFY *Incoming INITVAL (0);
32 WHERE short BuffyTimeout INITVAL (3);
34 extern time_t BuffyDoneTime; /* last time we knew for sure how much mail there was */
37 BUFFY *mutt_find_mailbox (const char *path);
38 void mutt_update_mailbox (BUFFY * b);