about summary refs log tree commit diff
path: root/ui-blob.h
diff options
context:
space:
mode:
authorVincent Ambo <Vincent Ambo>2020-01-11T23·30+0000
committerVincent Ambo <Vincent Ambo>2020-01-11T23·30+0000
commit723dc8fbcb1a4609c264758eae420ee2811a2b55 (patch)
tree6dea64c58b8973fad49924d6a1f5a5ea0863408c /ui-blob.h
Squashed 'third_party/cgit/' content from commit 8fc0c81
git-subtree-dir: third_party/cgit
git-subtree-split: 8fc0c81bbbed21ee30e8a48b2ab1066a029b7b32
Diffstat (limited to 'ui-blob.h')
-rw-r--r--ui-blob.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/ui-blob.h b/ui-blob.h
new file mode 100644
index 0000000000..16847b20b1
--- /dev/null
+++ b/ui-blob.h
@@ -0,0 +1,8 @@
+#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_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 */