int snapshots;
int enable_log_filecount;
int enable_log_linecount;
+ int enable_stats;
};
struct cgit_repolist {
struct taginfo {
char *tagger;
char *tagger_email;
- int tagger_date;
+ unsigned long tagger_date;
char *msg;
};
char *path;
char *name;
char *mimetype;
+ char *url;
+ char *period;
int ofs;
+ int nohead;
};
struct cgit_config {
int enable_index_links;
int enable_log_filecount;
int enable_log_linecount;
+ int enable_stats;
int local_time;
int max_repo_count;
int max_commit_count;
struct cgit_page {
time_t modified;
time_t expires;
+ size_t size;
char *mimetype;
char *charset;
char *filename;