summaryrefslogtreecommitdiffabout
path: root/cgit.h
Unidiff
Diffstat (limited to 'cgit.h') (more/less context) (ignore whitespace changes)
-rw-r--r--cgit.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/cgit.h b/cgit.h
index 8884f9e..80c3902 100644
--- a/cgit.h
+++ b/cgit.h
@@ -102,96 +102,97 @@ struct commitinfo {
102 char *msg; 102 char *msg;
103 char *msg_encoding; 103 char *msg_encoding;
104}; 104};
105 105
106struct taginfo { 106struct taginfo {
107 char *tagger; 107 char *tagger;
108 char *tagger_email; 108 char *tagger_email;
109 unsigned long tagger_date; 109 unsigned long tagger_date;
110 char *msg; 110 char *msg;
111}; 111};
112 112
113struct refinfo { 113struct refinfo {
114 const char *refname; 114 const char *refname;
115 struct object *object; 115 struct object *object;
116 union { 116 union {
117 struct taginfo *tag; 117 struct taginfo *tag;
118 struct commitinfo *commit; 118 struct commitinfo *commit;
119 }; 119 };
120}; 120};
121 121
122struct reflist { 122struct reflist {
123 struct refinfo **refs; 123 struct refinfo **refs;
124 int alloc; 124 int alloc;
125 int count; 125 int count;
126}; 126};
127 127
128struct cgit_query { 128struct cgit_query {
129 int has_symref; 129 int has_symref;
130 int has_sha1; 130 int has_sha1;
131 char *raw; 131 char *raw;
132 char *repo; 132 char *repo;
133 char *page; 133 char *page;
134 char *search; 134 char *search;
135 char *grep; 135 char *grep;
136 char *head; 136 char *head;
137 char *sha1; 137 char *sha1;
138 char *sha2; 138 char *sha2;
139 char *path; 139 char *path;
140 char *name; 140 char *name;
141 char *mimetype; 141 char *mimetype;
142 char *url; 142 char *url;
143 char *period; 143 char *period;
144 int ofs; 144 int ofs;
145 int nohead; 145 int nohead;
146 char *sort; 146 char *sort;
147 int showmsg; 147 int showmsg;
148 int ssdiff; 148 int ssdiff;
149 int show_all; 149 int show_all;
150 char *vpath;
150}; 151};
151 152
152struct cgit_config { 153struct cgit_config {
153 char *agefile; 154 char *agefile;
154 char *cache_root; 155 char *cache_root;
155 char *clone_prefix; 156 char *clone_prefix;
156 char *css; 157 char *css;
157 char *favicon; 158 char *favicon;
158 char *footer; 159 char *footer;
159 char *head_include; 160 char *head_include;
160 char *header; 161 char *header;
161 char *index_header; 162 char *index_header;
162 char *index_info; 163 char *index_info;
163 char *logo; 164 char *logo;
164 char *logo_link; 165 char *logo_link;
165 char *module_link; 166 char *module_link;
166 char *robots; 167 char *robots;
167 char *root_title; 168 char *root_title;
168 char *root_desc; 169 char *root_desc;
169 char *root_readme; 170 char *root_readme;
170 char *script_name; 171 char *script_name;
171 char *section; 172 char *section;
172 char *virtual_root; 173 char *virtual_root;
173 int cache_size; 174 int cache_size;
174 int cache_dynamic_ttl; 175 int cache_dynamic_ttl;
175 int cache_max_create_time; 176 int cache_max_create_time;
176 int cache_repo_ttl; 177 int cache_repo_ttl;
177 int cache_root_ttl; 178 int cache_root_ttl;
178 int cache_scanrc_ttl; 179 int cache_scanrc_ttl;
179 int cache_static_ttl; 180 int cache_static_ttl;
180 int embedded; 181 int embedded;
181 int enable_filter_overrides; 182 int enable_filter_overrides;
182 int enable_index_links; 183 int enable_index_links;
183 int enable_log_filecount; 184 int enable_log_filecount;
184 int enable_log_linecount; 185 int enable_log_linecount;
185 int enable_remote_branches; 186 int enable_remote_branches;
186 int enable_subject_links; 187 int enable_subject_links;
187 int enable_tree_linenumbers; 188 int enable_tree_linenumbers;
188 int local_time; 189 int local_time;
189 int max_atom_items; 190 int max_atom_items;
190 int max_repo_count; 191 int max_repo_count;
191 int max_commit_count; 192 int max_commit_count;
192 int max_lock_attempts; 193 int max_lock_attempts;
193 int max_msg_len; 194 int max_msg_len;
194 int max_repodesc_len; 195 int max_repodesc_len;
195 int max_blob_size; 196 int max_blob_size;
196 int max_stats; 197 int max_stats;
197 int nocache; 198 int nocache;