about summary refs log tree commit diff
path: root/ui-plain.h
diff options
context:
space:
mode:
authorLars Hjemli <hjemli@gmail.com>2008-08-06 10:53:50 +0200
committerLars Hjemli <hjemli@gmail.com>2008-08-06 11:21:30 +0200
commite5da4bca54574522b28f88cab0dc8ebad9e35a73 (patch)
tree08e02b9e0962a12040faab27e7841a74a800ddf2 /ui-plain.h
parentAdd support for cloning over http (diff)
downloadcgit-pink-e5da4bca54574522b28f88cab0dc8ebad9e35a73.tar.gz
cgit-pink-e5da4bca54574522b28f88cab0dc8ebad9e35a73.zip
Implement plain view
This implements a way to access plain blobs by path (similar to the
tree view) instead of by sha1.

Signed-off-by: Lars Hjemli <hjemli@gmail.com>
Diffstat (limited to '')
-rw-r--r--ui-plain.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/ui-plain.h b/ui-plain.h
new file mode 100644
index 0000000..4373118
--- /dev/null
+++ b/ui-plain.h
@@ -0,0 +1,6 @@
+#ifndef UI_PLAIN_H
+#define UI_PLAIN_H
+
+extern void cgit_print_plain(struct cgit_context *ctx);
+
+#endif /* UI_PLAIN_H */