about summary refs log tree commit diff
path: root/cgit.h
diff options
context:
space:
mode:
authorLars Hjemli <hjemli@gmail.com>2007-01-12 00:46:17 +0100
committerLars Hjemli <hjemli@gmail.com>2007-01-12 00:46:17 +0100
commit5cd2bf7e7f3f3daf6107cd3a269bad78e342de70 (patch)
tree7ce9368e94b39114e772c279f741bd8106f611d2 /cgit.h
parentRemove troublesome chars from cachefile names (diff)
downloadcgit-pink-5cd2bf7e7f3f3daf6107cd3a269bad78e342de70.tar.gz
cgit-pink-5cd2bf7e7f3f3daf6107cd3a269bad78e342de70.zip
WIP: add paths/backlinks to tree/blobview
Diffstat (limited to '')
-rw-r--r--cgit.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/cgit.h b/cgit.h
index 3601e49..5e19b11 100644
--- a/cgit.h
+++ b/cgit.h
@@ -59,6 +59,7 @@ extern char *cgit_query_search;
 extern char *cgit_query_head;
 extern char *cgit_query_sha1;
 extern char *cgit_query_sha2;
+extern char *cgit_query_path;
 extern int   cgit_query_ofs;
 
 extern int htmlfd;
@@ -108,7 +109,7 @@ extern void cgit_print_repolist(struct cacheitem *item);
 extern void cgit_print_summary();
 extern void cgit_print_log(const char *tip, int ofs, int cnt, char *grep);
 extern void cgit_print_view(const char *hex);
-extern void cgit_print_tree(const char *hex);
+extern void cgit_print_tree(const char *hex, char *path);
 extern void cgit_print_commit(const char *hex);
 extern void cgit_print_diff(const char *old_hex, const char *new_hex);