|
diff --git a/cgit.h b/cgit.h index 2615231..292e488 100644 --- a/ cgit.h+++ b/ cgit.h |
|
@@ -143,24 +143,25 @@ extern char *cgit_repourl(const char *reponame); |
143 | extern char *cgit_pageurl(const char *reponame, const char *pagename, |
143 | extern char *cgit_pageurl(const char *reponame, const char *pagename, |
144 | const char *query); |
144 | const char *query); |
145 | |
145 | |
146 | extern void cgit_print_error(char *msg); |
146 | extern void cgit_print_error(char *msg); |
147 | extern void cgit_print_date(unsigned long secs); |
147 | extern void cgit_print_date(unsigned long secs); |
148 | extern void cgit_print_docstart(char *title, struct cacheitem *item); |
148 | extern void cgit_print_docstart(char *title, struct cacheitem *item); |
149 | extern void cgit_print_docend(); |
149 | extern void cgit_print_docend(); |
150 | extern void cgit_print_pageheader(char *title, int show_search); |
150 | extern void cgit_print_pageheader(char *title, int show_search); |
151 | extern void cgit_print_snapshot_start(const char *mimetype, |
151 | extern void cgit_print_snapshot_start(const char *mimetype, |
152 | const char *filename, |
152 | const char *filename, |
153 | struct cacheitem *item); |
153 | struct cacheitem *item); |
154 | |
154 | |
155 | extern void cgit_print_repolist(struct cacheitem *item); |
155 | extern void cgit_print_repolist(struct cacheitem *item); |
156 | extern void cgit_print_summary(); |
156 | extern void cgit_print_summary(); |
157 | extern void cgit_print_log(const char *tip, int ofs, int cnt, char *grep); |
157 | extern void cgit_print_log(const char *tip, int ofs, int cnt, char *grep); |
158 | extern void cgit_print_view(const char *hex, char *path); |
158 | extern void cgit_print_view(const char *hex, char *path); |
| |
159 | extern void cgit_print_blob(struct cacheitem *item, const char *hex, char *path); |
159 | extern void cgit_print_tree(const char *hex, char *path); |
160 | extern void cgit_print_tree(const char *hex, char *path); |
160 | extern void cgit_print_commit(const char *hex); |
161 | extern void cgit_print_commit(const char *hex); |
161 | extern void cgit_print_diff(const char *old_hex, const char *new_hex); |
162 | extern void cgit_print_diff(const char *old_hex, const char *new_hex); |
162 | extern void cgit_print_snapshot(struct cacheitem *item, const char *hex, |
163 | extern void cgit_print_snapshot(struct cacheitem *item, const char *hex, |
163 | const char *format, const char *prefix, |
164 | const char *format, const char *prefix, |
164 | const char *filename); |
165 | const char *filename); |
165 | |
166 | |
166 | #endif /* CGIT_H */ |
167 | #endif /* CGIT_H */ |
|