|
diff --git a/cgit.h b/cgit.h index e3d9cb8..e96311f 100644 --- a/ cgit.h+++ b/ cgit.h |
|
@@ -165,17 +165,17 @@ extern char *trim_end(const char *str, char c); |
165 | extern void *cgit_free_commitinfo(struct commitinfo *info); |
165 | extern void *cgit_free_commitinfo(struct commitinfo *info); |
166 | |
166 | |
167 | extern int cgit_diff_files(const unsigned char *old_sha1, |
167 | extern int cgit_diff_files(const unsigned char *old_sha1, |
168 | const unsigned char *new_sha1, |
168 | const unsigned char *new_sha1, |
169 | linediff_fn fn); |
169 | linediff_fn fn); |
170 | |
170 | |
171 | extern void cgit_diff_tree(const unsigned char *old_sha1, |
171 | extern void cgit_diff_tree(const unsigned char *old_sha1, |
172 | const unsigned char *new_sha1, |
172 | const unsigned char *new_sha1, |
173 | filepair_fn fn); |
173 | filepair_fn fn, const char *prefix); |
174 | |
174 | |
175 | extern void cgit_diff_commit(struct commit *commit, filepair_fn fn); |
175 | extern void cgit_diff_commit(struct commit *commit, filepair_fn fn); |
176 | |
176 | |
177 | extern char *fmt(const char *format,...); |
177 | extern char *fmt(const char *format,...); |
178 | |
178 | |
179 | extern void html(const char *txt); |
179 | extern void html(const char *txt); |
180 | extern void htmlf(const char *format,...); |
180 | extern void htmlf(const char *format,...); |
181 | extern void html_txt(char *txt); |
181 | extern void html_txt(char *txt); |
@@ -233,17 +233,17 @@ extern void cgit_print_snapshot_start(const char *mimetype, |
233 | |
233 | |
234 | extern void cgit_print_repolist(struct cacheitem *item); |
234 | extern void cgit_print_repolist(struct cacheitem *item); |
235 | extern void cgit_print_summary(); |
235 | extern void cgit_print_summary(); |
236 | extern void cgit_print_log(const char *tip, int ofs, int cnt, char *grep, char *path, int pager); |
236 | extern void cgit_print_log(const char *tip, int ofs, int cnt, char *grep, char *path, int pager); |
237 | extern void cgit_print_blob(struct cacheitem *item, const char *hex, char *path); |
237 | extern void cgit_print_blob(struct cacheitem *item, const char *hex, char *path); |
238 | extern void cgit_print_tree(const char *rev, char *path); |
238 | extern void cgit_print_tree(const char *rev, char *path); |
239 | extern void cgit_print_commit(char *hex); |
239 | extern void cgit_print_commit(char *hex); |
240 | extern void cgit_print_tag(char *revname); |
240 | extern void cgit_print_tag(char *revname); |
241 | extern void cgit_print_diff(const char *new_hex, const char *old_hex); |
241 | extern void cgit_print_diff(const char *new_hex, const char *old_hex, const char *prefix); |
242 | extern void cgit_print_snapshot(struct cacheitem *item, const char *head, |
242 | extern void cgit_print_snapshot(struct cacheitem *item, const char *head, |
243 | const char *hex, const char *prefix, |
243 | const char *hex, const char *prefix, |
244 | const char *filename, int snapshot); |
244 | const char *filename, int snapshot); |
245 | extern void cgit_print_snapshot_links(const char *repo, const char *head, |
245 | extern void cgit_print_snapshot_links(const char *repo, const char *head, |
246 | const char *hex, int snapshots); |
246 | const char *hex, int snapshots); |
247 | extern int cgit_parse_snapshots_mask(const char *str); |
247 | extern int cgit_parse_snapshots_mask(const char *str); |
248 | |
248 | |
249 | #endif /* CGIT_H */ |
249 | #endif /* CGIT_H */ |
|