X-Git-Url: https://gitweb.ps.run/ps-cgit/blobdiff_plain/7710178e45dee61e85ea77c4221309ce8c086f95..779631c6dc23c15bbbf45a7c7ab9fffb619037b7:/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 */