X-Git-Url: https://gitweb.ps.run/ps-cgit/blobdiff_plain/dfc4c82aad1ca990544441ce8b90e99d32f0d82d..2593cd813860d71bd85db48c919de3d6e41b8b57:/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 */