summaryrefslogtreecommitdiffstats
path: root/functions.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 /functions.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 'functions.h')
-rw-r--r--functions.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/functions.h b/functions.h
index 95d00d8b..442531ad 100644
--- a/functions.h
+++ b/functions.h
@@ -80,6 +80,7 @@ const struct binding_t OpGeneric[] = { /* map: generic */
{ "current-bottom", OP_CURRENT_BOTTOM, NULL },
{ "error-history", OP_ERROR_HISTORY, NULL },
{ "what-key", OP_WHAT_KEY, NULL },
+ { "check-stats", OP_CHECK_STATS, NULL },
{ NULL, 0, NULL }
};
@@ -290,6 +291,7 @@ const struct binding_t OpPager[] = { /* map: pager */
{ "decrypt-save", OP_DECRYPT_SAVE, NULL },
{ "what-key", OP_WHAT_KEY, NULL },
+ { "check-stats", OP_CHECK_STATS, NULL },
#ifdef USE_SIDEBAR
{ "sidebar-next", OP_SIDEBAR_NEXT, NULL },