Unidiff1 files changed, 3 insertions, 0 deletions
|
diff --git a/cgit.h b/cgit.h index fc7c7d5..3359be9 100644 --- a/ cgit.h+++ b/ cgit.h |
|
@@ -66,32 +66,35 @@ struct cgit_repo { |
66 | char *owner; |
66 | char *owner; |
67 | char *defbranch; |
67 | char *defbranch; |
68 | char *module_link; |
68 | char *module_link; |
69 | char *readme; |
69 | char *readme; |
70 | char *section; |
70 | char *section; |
71 | char *clone_url; |
71 | char *clone_url; |
72 | int snapshots; |
72 | int snapshots; |
73 | int enable_log_filecount; |
73 | int enable_log_filecount; |
74 | int enable_log_linecount; |
74 | int enable_log_linecount; |
75 | int max_stats; |
75 | int max_stats; |
76 | time_t mtime; |
76 | time_t mtime; |
77 | struct cgit_filter *about_filter; |
77 | struct cgit_filter *about_filter; |
78 | struct cgit_filter *commit_filter; |
78 | struct cgit_filter *commit_filter; |
79 | struct cgit_filter *source_filter; |
79 | struct cgit_filter *source_filter; |
80 | }; |
80 | }; |
81 | |
81 | |
| |
82 | typedef void (*repo_config_fn)(struct cgit_repo *repo, const char *name, |
| |
83 | const char *value); |
| |
84 | |
82 | struct cgit_repolist { |
85 | struct cgit_repolist { |
83 | int length; |
86 | int length; |
84 | int count; |
87 | int count; |
85 | struct cgit_repo *repos; |
88 | struct cgit_repo *repos; |
86 | }; |
89 | }; |
87 | |
90 | |
88 | struct commitinfo { |
91 | struct commitinfo { |
89 | struct commit *commit; |
92 | struct commit *commit; |
90 | char *author; |
93 | char *author; |
91 | char *author_email; |
94 | char *author_email; |
92 | unsigned long author_date; |
95 | unsigned long author_date; |
93 | char *committer; |
96 | char *committer; |
94 | char *committer_email; |
97 | char *committer_email; |
95 | unsigned long committer_date; |
98 | unsigned long committer_date; |
96 | char *subject; |
99 | char *subject; |
97 | char *msg; |
100 | char *msg; |
|