X-Git-Url: https://git.cameronkatri.com/cgit.git/blobdiff_plain/d6174b7aab476c2b6a86e59d98cf978d603045f4..c679d9010451b986bae719a6abe0458af2b2dfb9:/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 */