Andreas Krennmair:
[apps/madmutt.git] / buffy.h
diff --git a/buffy.h b/buffy.h
index e04e7c5..94a325c 100644 (file)
--- a/buffy.h
+++ b/buffy.h
@@ -27,7 +27,12 @@ typedef struct buffy_t
   long size;
 #endif                         /* BUFFY_SIZE */
   struct buffy_t *next;
   long size;
 #endif                         /* BUFFY_SIZE */
   struct buffy_t *next;
+  struct buffy_t *prev;
   short new;                   /* mailbox has new mail */
   short new;                   /* mailbox has new mail */
+  short has_new;               /* set it new if new and not read */
+  int msgcount;                        /* total number of messages */
+  int msg_unread;              /* number of unread messages */
+  int msg_flagged;             /* number of flagged messages */
   short notified;              /* user has been notified */
   short magic;                 /* mailbox type */
   short newly_created;         /* mbox or mmdf just popped into existence */
   short notified;              /* user has been notified */
   short magic;                 /* mailbox type */
   short newly_created;         /* mbox or mmdf just popped into existence */