|
diff --git a/cgit.h b/cgit.h index 0baa679..dd83f70 100644 --- a/ cgit.h+++ b/ cgit.h |
|
@@ -153,16 +153,17 @@ extern int cgit_max_commit_count; |
153 | |
153 | |
154 | extern int cgit_query_has_symref; |
154 | extern int cgit_query_has_symref; |
155 | extern int cgit_query_has_sha1; |
155 | extern int cgit_query_has_sha1; |
156 | |
156 | |
157 | extern char *cgit_querystring; |
157 | extern char *cgit_querystring; |
158 | extern char *cgit_query_repo; |
158 | extern char *cgit_query_repo; |
159 | extern char *cgit_query_page; |
159 | extern char *cgit_query_page; |
160 | extern char *cgit_query_search; |
160 | extern char *cgit_query_search; |
| |
161 | extern char *cgit_query_grep; |
161 | extern char *cgit_query_head; |
162 | extern char *cgit_query_head; |
162 | extern char *cgit_query_sha1; |
163 | extern char *cgit_query_sha1; |
163 | extern char *cgit_query_sha2; |
164 | extern char *cgit_query_sha2; |
164 | extern char *cgit_query_path; |
165 | extern char *cgit_query_path; |
165 | extern char *cgit_query_name; |
166 | extern char *cgit_query_name; |
166 | extern int cgit_query_ofs; |
167 | extern int cgit_query_ofs; |
167 | |
168 | |
168 | extern int htmlfd; |
169 | extern int htmlfd; |
@@ -255,17 +256,18 @@ extern void cgit_print_pageheader(char *title, int show_search); |
255 | extern void cgit_print_snapshot_start(const char *mimetype, |
256 | extern void cgit_print_snapshot_start(const char *mimetype, |
256 | const char *filename, |
257 | const char *filename, |
257 | struct cacheitem *item); |
258 | struct cacheitem *item); |
258 | extern void cgit_print_branches(int maxcount); |
259 | extern void cgit_print_branches(int maxcount); |
259 | extern void cgit_print_tags(int maxcount); |
260 | extern void cgit_print_tags(int maxcount); |
260 | |
261 | |
261 | extern void cgit_print_repolist(struct cacheitem *item); |
262 | extern void cgit_print_repolist(struct cacheitem *item); |
262 | extern void cgit_print_summary(); |
263 | extern void cgit_print_summary(); |
263 | extern void cgit_print_log(const char *tip, int ofs, int cnt, char *grep, char *path, int pager); |
264 | extern void cgit_print_log(const char *tip, int ofs, int cnt, char *grep, |
| |
265 | char *pattern, char *path, int pager); |
264 | extern void cgit_print_blob(struct cacheitem *item, const char *hex, char *path); |
266 | extern void cgit_print_blob(struct cacheitem *item, const char *hex, char *path); |
265 | extern void cgit_print_tree(const char *rev, char *path); |
267 | extern void cgit_print_tree(const char *rev, char *path); |
266 | extern void cgit_print_commit(char *hex); |
268 | extern void cgit_print_commit(char *hex); |
267 | extern void cgit_print_refs(); |
269 | extern void cgit_print_refs(); |
268 | extern void cgit_print_tag(char *revname); |
270 | extern void cgit_print_tag(char *revname); |
269 | extern void cgit_print_diff(const char *new_hex, const char *old_hex, const char *prefix); |
271 | extern void cgit_print_diff(const char *new_hex, const char *old_hex, const char *prefix); |
270 | extern void cgit_print_snapshot(struct cacheitem *item, const char *head, |
272 | extern void cgit_print_snapshot(struct cacheitem *item, const char *head, |
271 | const char *hex, const char *prefix, |
273 | const char *hex, const char *prefix, |
|