X-Git-Url: https://git.cameronkatri.com/cgit.git/blobdiff_plain/1fdde95a5a169ad2240460b1d3f25bae606527f5..892ba8c3cc0617d2087a2337d8c6e71524d7b49c:/ui-stats.h diff --git a/ui-stats.h b/ui-stats.h index 4f13dba..0e61b03 100644 --- a/ui-stats.h +++ b/ui-stats.h @@ -20,8 +20,9 @@ struct cgit_period { char *(*pretty)(struct tm *tm); }; -extern int cgit_find_stats_period(const char *expr, struct cgit_period **period); +extern int cgit_find_stats_period(const char *expr, const struct cgit_period **period); +extern const char *cgit_find_stats_periodname(int idx); -extern void cgit_show_stats(struct cgit_context *ctx); +extern void cgit_show_stats(void); #endif /* UI_STATS_H */