diff options
Diffstat (limited to 'cgit/ui-blob.h')
| -rw-r--r-- | cgit/ui-blob.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/cgit/ui-blob.h b/cgit/ui-blob.h new file mode 100644 index 0000000000..39b3fba650 --- /dev/null +++ b/cgit/ui-blob.h @@ -0,0 +1,10 @@ +#ifndef UI_BLOB_H +#define UI_BLOB_H + +extern int cgit_ref_path_exists(const char *path, const char *ref, int file_only); +extern int cgit_ref_read_file(const char *path, const char *head, int file_only, + char **buf, unsigned long *size); +extern int cgit_print_file(char *path, const char *head, int file_only); +extern void cgit_print_blob(const char *hex, char *path, const char *head, int file_only); + +#endif /* UI_BLOB_H */ |
