summaryrefslogtreecommitdiffstats
path: root/mutt.h
diff options
context:
space:
mode:
authorThomas Roessler <roessler@does-not-exist.org>1998-09-29 06:58:08 +0000
committerThomas Roessler <roessler@does-not-exist.org>1998-09-29 06:58:08 +0000
commitc2a49fbc2cd96af8a3eeb9eb383689dd94e0be30 (patch)
tree3ad09b9ec9a467f67eb9efd3267f48353b8a2867 /mutt.h
parent12cc52314fee4a83540896a9b81cec32ff808f7b (diff)
Add caching for a message's flags.
Diffstat (limited to 'mutt.h')
-rw-r--r--mutt.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/mutt.h b/mutt.h
index 8986bce8..0a88c226 100644
--- a/mutt.h
+++ b/mutt.h
@@ -497,8 +497,8 @@ typedef struct header
unsigned int display_subject : 1; /* used for threading */
unsigned int fake_thread : 1; /* no ref matched, but subject did */
unsigned int threaded : 1; /* message has been threaded */
-
- unsigned int active : 1;
+ unsigned int recip_valid : 1; /* is_recipient is valid */
+ unsigned int active : 1; /* message is not to be removed */
/* timezone of the sender of this message */
unsigned int zhours : 5;
@@ -514,6 +514,8 @@ typedef struct header
unsigned int limited : 1; /* is this message in a limited view? */
size_t num_hidden; /* number of hidden messages in this view */
+ short recipient; /* user_is_recipient()'s return value, cached */
+
int pair; /* color-pair to use when displaying in the index */
time_t date_sent; /* time when the message was sent (UTC) */