summaryrefslogtreecommitdiffstats
path: root/buffy.h
diff options
context:
space:
mode:
authorAnton Lindqvist <anton@basename.se>2018-06-28 20:17:23 -0700
committerKevin McCarthy <kevin@8t8.us>2018-06-28 20:17:23 -0700
commitac7e28906c1c55f98a955f58367734801e4d26e5 (patch)
tree58f83b692c0406f4a42b3c4dd0459bd908075b35 /buffy.h
parent0e34a489f8763c833d150ef6f895419838082699 (diff)
Add check-stats function to calculate mailbox statistics.
This allows the statistics to be updated without setting $mail_check_stats or before $mail_check_stats_interval has passed.
Diffstat (limited to 'buffy.h')
-rw-r--r--buffy.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/buffy.h b/buffy.h
index c0cfddf4..aecad530 100644
--- a/buffy.h
+++ b/buffy.h
@@ -63,4 +63,8 @@ void mutt_buffy_setnotified (const char *path);
int mh_buffy (BUFFY *, int);
+/* force flags passed to mutt_buffy_check() */
+#define MUTT_BUFFY_CHECK_FORCE 1
+#define MUTT_BUFFY_CHECK_FORCE_STATS (1<<1)
+
#endif /* _BUFFY_H */