]> gitweb.ps.run Git - ps-cgit/blobdiff - cgit.h
Add display of tree content w/ui-tree.c
[ps-cgit] / cgit.h
diff --git a/cgit.h b/cgit.h
index c1dcc9716b743a608cf80163845cb73755682fec..2fdfab3edf700d3fe8154d44b80c3dbe18394038 100644 (file)
--- a/cgit.h
+++ b/cgit.h
@@ -66,6 +66,7 @@ extern int cgit_parse_query(char *txt, configfn fn);
 extern void cache_prepare(struct cacheitem *item);
 extern int cache_lock(struct cacheitem *item);
 extern int cache_unlock(struct cacheitem *item);
+extern int cache_cancel_lock(struct cacheitem *item);
 extern int cache_exist(struct cacheitem *item);
 extern int cache_expired(struct cacheitem *item);
 
@@ -82,5 +83,6 @@ 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);
 extern void cgit_print_view(char *hex);
+extern void cgit_print_tree(const char *sha1);
 
 #endif /* CGIT_H */