|
diff --git a/cgit.h b/cgit.h index ac710a6..764225d 100644 --- a/ cgit.h+++ b/ cgit.h |
|
@@ -156,18 +156,18 @@ extern int cache_cancel_lock(struct cacheitem *item); |
156 | extern int cache_exist(struct cacheitem *item); |
156 | extern int cache_exist(struct cacheitem *item); |
157 | extern int cache_expired(struct cacheitem *item); |
157 | extern int cache_expired(struct cacheitem *item); |
158 | |
158 | |
159 | extern char *cgit_repourl(const char *reponame); |
159 | extern char *cgit_repourl(const char *reponame); |
160 | extern char *cgit_pageurl(const char *reponame, const char *pagename, |
160 | extern char *cgit_pageurl(const char *reponame, const char *pagename, |
161 | const char *query); |
161 | const char *query); |
162 | |
162 | |
163 | extern void cgit_print_error(char *msg); |
163 | extern void cgit_print_error(char *msg); |
164 | extern void cgit_print_date(unsigned long secs); |
164 | extern void cgit_print_date(unsigned long secs); |
165 | extern void cgit_print_docstart(char *title, struct cacheitem *item); |
165 | extern void cgit_print_docstart(char *title, struct cacheitem *item); |
166 | extern void cgit_print_docend(); |
166 | extern void cgit_print_docend(); |
167 | extern void cgit_print_pageheader(char *title, int show_search); |
167 | extern void cgit_print_pageheader(char *title, int show_search); |
168 | extern void cgit_print_snapshot_start(const char *mimetype, |
168 | extern void cgit_print_snapshot_start(const char *mimetype, |
169 | const char *filename, |
169 | const char *filename, |
170 | struct cacheitem *item); |
170 | struct cacheitem *item); |
171 | |
171 | |
172 | extern void cgit_print_repolist(struct cacheitem *item); |
172 | extern void cgit_print_repolist(struct cacheitem *item); |
173 | extern void cgit_print_summary(); |
173 | extern void cgit_print_summary(); |
@@ -175,10 +175,11 @@ extern void cgit_print_log(const char *tip, int ofs, int cnt, char *grep, char * |
175 | extern void cgit_print_view(const char *hex, char *path); |
175 | extern void cgit_print_view(const char *hex, char *path); |
176 | extern void cgit_print_blob(struct cacheitem *item, const char *hex, char *path); |
176 | extern void cgit_print_blob(struct cacheitem *item, const char *hex, char *path); |
177 | extern void cgit_print_tree(const char *rev, const char *hex, char *path); |
177 | extern void cgit_print_tree(const char *rev, const char *hex, char *path); |
178 | extern void cgit_print_commit(const char *hex); |
178 | extern void cgit_print_commit(const char *hex); |
179 | extern void cgit_print_diff(const char *old_hex, const char *new_hex, char *path); |
179 | extern void cgit_print_diff(const char *head, const char *old_hex, const char *new_hex, |
180 | extern void cgit_print_snapshot(struct cacheitem *item, const char *hex, |
180 | char *path); |
| |
181 | extern void cgit_print_snapshot(struct cacheitem *item, const char *hex, |
181 | const char *format, const char *prefix, |
182 | const char *format, const char *prefix, |
182 | const char *filename); |
183 | const char *filename); |
183 | |
184 | |
184 | #endif /* CGIT_H */ |
185 | #endif /* CGIT_H */ |
|