Unidiff1 files changed, 1 insertions, 0 deletions
|
diff --git a/cgit.h b/cgit.h index 91db98a..ea90833 100644 --- a/ cgit.h+++ b/ cgit.h |
|
@@ -92,64 +92,65 @@ struct taginfo { |
92 | struct refinfo { |
92 | struct refinfo { |
93 | const char *refname; |
93 | const char *refname; |
94 | struct object *object; |
94 | struct object *object; |
95 | union { |
95 | union { |
96 | struct taginfo *tag; |
96 | struct taginfo *tag; |
97 | struct commitinfo *commit; |
97 | struct commitinfo *commit; |
98 | }; |
98 | }; |
99 | }; |
99 | }; |
100 | |
100 | |
101 | struct reflist { |
101 | struct reflist { |
102 | struct refinfo **refs; |
102 | struct refinfo **refs; |
103 | int alloc; |
103 | int alloc; |
104 | int count; |
104 | int count; |
105 | }; |
105 | }; |
106 | |
106 | |
107 | struct cgit_query { |
107 | struct cgit_query { |
108 | int has_symref; |
108 | int has_symref; |
109 | int has_sha1; |
109 | int has_sha1; |
110 | char *raw; |
110 | char *raw; |
111 | char *repo; |
111 | char *repo; |
112 | char *page; |
112 | char *page; |
113 | char *search; |
113 | char *search; |
114 | char *grep; |
114 | char *grep; |
115 | char *head; |
115 | char *head; |
116 | char *sha1; |
116 | char *sha1; |
117 | char *sha2; |
117 | char *sha2; |
118 | char *path; |
118 | char *path; |
119 | char *name; |
119 | char *name; |
120 | char *mimetype; |
120 | char *mimetype; |
121 | char *url; |
121 | char *url; |
122 | int ofs; |
122 | int ofs; |
123 | int nohead; |
123 | int nohead; |
| |
124 | char *sort; |
124 | }; |
125 | }; |
125 | |
126 | |
126 | struct cgit_config { |
127 | struct cgit_config { |
127 | char *agefile; |
128 | char *agefile; |
128 | char *cache_root; |
129 | char *cache_root; |
129 | char *clone_prefix; |
130 | char *clone_prefix; |
130 | char *css; |
131 | char *css; |
131 | char *favicon; |
132 | char *favicon; |
132 | char *footer; |
133 | char *footer; |
133 | char *index_header; |
134 | char *index_header; |
134 | char *index_info; |
135 | char *index_info; |
135 | char *logo; |
136 | char *logo; |
136 | char *logo_link; |
137 | char *logo_link; |
137 | char *module_link; |
138 | char *module_link; |
138 | char *repo_group; |
139 | char *repo_group; |
139 | char *robots; |
140 | char *robots; |
140 | char *root_title; |
141 | char *root_title; |
141 | char *root_desc; |
142 | char *root_desc; |
142 | char *root_readme; |
143 | char *root_readme; |
143 | char *script_name; |
144 | char *script_name; |
144 | char *virtual_root; |
145 | char *virtual_root; |
145 | int cache_size; |
146 | int cache_size; |
146 | int cache_dynamic_ttl; |
147 | int cache_dynamic_ttl; |
147 | int cache_max_create_time; |
148 | int cache_max_create_time; |
148 | int cache_repo_ttl; |
149 | int cache_repo_ttl; |
149 | int cache_root_ttl; |
150 | int cache_root_ttl; |
150 | int cache_static_ttl; |
151 | int cache_static_ttl; |
151 | int enable_index_links; |
152 | int enable_index_links; |
152 | int enable_log_filecount; |
153 | int enable_log_filecount; |
153 | int enable_log_linecount; |
154 | int enable_log_linecount; |
154 | int local_time; |
155 | int local_time; |
155 | int max_repo_count; |
156 | int max_repo_count; |
|