Unidiff1 files changed, 6 insertions, 0 deletions
|
diff --git a/cgit.h b/cgit.h index 92f0c5a..4fe94c6 100644 --- a/ cgit.h+++ b/ cgit.h |
|
@@ -52,24 +52,26 @@ struct cgit_repo { |
52 | char *name; |
52 | char *name; |
53 | char *path; |
53 | char *path; |
54 | char *desc; |
54 | char *desc; |
55 | char *owner; |
55 | char *owner; |
56 | char *defbranch; |
56 | char *defbranch; |
57 | char *group; |
57 | char *group; |
58 | char *module_link; |
58 | char *module_link; |
59 | char *readme; |
59 | char *readme; |
60 | char *clone_url; |
60 | char *clone_url; |
61 | int snapshots; |
61 | int snapshots; |
62 | int enable_log_filecount; |
62 | int enable_log_filecount; |
63 | int enable_log_linecount; |
63 | int enable_log_linecount; |
| |
64 | int max_stats; |
| |
65 | time_t mtime; |
64 | }; |
66 | }; |
65 | |
67 | |
66 | struct cgit_repolist { |
68 | struct cgit_repolist { |
67 | int length; |
69 | int length; |
68 | int count; |
70 | int count; |
69 | struct cgit_repo *repos; |
71 | struct cgit_repo *repos; |
70 | }; |
72 | }; |
71 | |
73 | |
72 | struct commitinfo { |
74 | struct commitinfo { |
73 | struct commit *commit; |
75 | struct commit *commit; |
74 | char *author; |
76 | char *author; |
75 | char *author_email; |
77 | char *author_email; |
@@ -110,26 +112,29 @@ struct cgit_query { |
110 | char *raw; |
112 | char *raw; |
111 | char *repo; |
113 | char *repo; |
112 | char *page; |
114 | char *page; |
113 | char *search; |
115 | char *search; |
114 | char *grep; |
116 | char *grep; |
115 | char *head; |
117 | char *head; |
116 | char *sha1; |
118 | char *sha1; |
117 | char *sha2; |
119 | char *sha2; |
118 | char *path; |
120 | char *path; |
119 | char *name; |
121 | char *name; |
120 | char *mimetype; |
122 | char *mimetype; |
121 | char *url; |
123 | char *url; |
| |
124 | char *period; |
122 | int ofs; |
125 | int ofs; |
123 | int nohead; |
126 | int nohead; |
| |
127 | char *sort; |
| |
128 | int showmsg; |
124 | }; |
129 | }; |
125 | |
130 | |
126 | struct cgit_config { |
131 | struct cgit_config { |
127 | char *agefile; |
132 | char *agefile; |
128 | char *cache_root; |
133 | char *cache_root; |
129 | char *clone_prefix; |
134 | char *clone_prefix; |
130 | char *css; |
135 | char *css; |
131 | char *favicon; |
136 | char *favicon; |
132 | char *footer; |
137 | char *footer; |
133 | char *index_header; |
138 | char *index_header; |
134 | char *index_info; |
139 | char *index_info; |
135 | char *logo; |
140 | char *logo; |
@@ -148,24 +153,25 @@ struct cgit_config { |
148 | int cache_repo_ttl; |
153 | int cache_repo_ttl; |
149 | int cache_root_ttl; |
154 | int cache_root_ttl; |
150 | int cache_static_ttl; |
155 | int cache_static_ttl; |
151 | int enable_index_links; |
156 | int enable_index_links; |
152 | int enable_log_filecount; |
157 | int enable_log_filecount; |
153 | int enable_log_linecount; |
158 | int enable_log_linecount; |
154 | int local_time; |
159 | int local_time; |
155 | int max_repo_count; |
160 | int max_repo_count; |
156 | int max_commit_count; |
161 | int max_commit_count; |
157 | int max_lock_attempts; |
162 | int max_lock_attempts; |
158 | int max_msg_len; |
163 | int max_msg_len; |
159 | int max_repodesc_len; |
164 | int max_repodesc_len; |
| |
165 | int max_stats; |
160 | int nocache; |
166 | int nocache; |
161 | int renamelimit; |
167 | int renamelimit; |
162 | int snapshots; |
168 | int snapshots; |
163 | int summary_branches; |
169 | int summary_branches; |
164 | int summary_log; |
170 | int summary_log; |
165 | int summary_tags; |
171 | int summary_tags; |
166 | }; |
172 | }; |
167 | |
173 | |
168 | struct cgit_page { |
174 | struct cgit_page { |
169 | time_t modified; |
175 | time_t modified; |
170 | time_t expires; |
176 | time_t expires; |
171 | size_t size; |
177 | size_t size; |
|