|
diff --git a/cgit.h b/cgit.h index d90ccdc..adb8da4 100644 --- a/ cgit.h+++ b/ cgit.h |
|
@@ -262,26 +262,27 @@ extern void *cgit_free_commitinfo(struct commitinfo *info); |
262 | extern int cgit_diff_files(const unsigned char *old_sha1, |
262 | extern int cgit_diff_files(const unsigned char *old_sha1, |
263 | const unsigned char *new_sha1, |
263 | const unsigned char *new_sha1, |
264 | unsigned long *old_size, unsigned long *new_size, |
264 | unsigned long *old_size, unsigned long *new_size, |
265 | int *binary, linediff_fn fn); |
265 | int *binary, linediff_fn fn); |
266 | |
266 | |
267 | extern void cgit_diff_tree(const unsigned char *old_sha1, |
267 | extern void cgit_diff_tree(const unsigned char *old_sha1, |
268 | const unsigned char *new_sha1, |
268 | const unsigned char *new_sha1, |
269 | filepair_fn fn, const char *prefix); |
269 | filepair_fn fn, const char *prefix); |
270 | |
270 | |
271 | extern void cgit_diff_commit(struct commit *commit, filepair_fn fn); |
271 | extern void cgit_diff_commit(struct commit *commit, filepair_fn fn); |
272 | |
272 | |
273 | extern char *fmt(const char *format,...); |
273 | extern char *fmt(const char *format,...); |
274 | |
274 | |
275 | extern struct commitinfo *cgit_parse_commit(struct commit *commit); |
275 | extern struct commitinfo *cgit_parse_commit(struct commit *commit); |
276 | extern struct taginfo *cgit_parse_tag(struct tag *tag); |
276 | extern struct taginfo *cgit_parse_tag(struct tag *tag); |
277 | extern void cgit_parse_url(const char *url); |
277 | extern void cgit_parse_url(const char *url); |
278 | |
278 | |
279 | extern const char *cgit_repobasename(const char *reponame); |
279 | extern const char *cgit_repobasename(const char *reponame); |
280 | |
280 | |
281 | extern int cgit_parse_snapshots_mask(const char *str); |
281 | extern int cgit_parse_snapshots_mask(const char *str); |
282 | |
282 | |
283 | extern int cgit_open_filter(struct cgit_filter *filter); |
283 | extern int cgit_open_filter(struct cgit_filter *filter); |
284 | extern int cgit_close_filter(struct cgit_filter *filter); |
284 | extern int cgit_close_filter(struct cgit_filter *filter); |
285 | |
285 | |
| |
286 | extern int readfile(const char *path, char **buf, size_t *size); |
286 | |
287 | |
287 | #endif /* CGIT_H */ |
288 | #endif /* CGIT_H */ |
|