]> 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 3a153a5ebc885172a00a32c19ce02ca96b861f73..2fdfab3edf700d3fe8154d44b80c3dbe18394038 100644 (file)
--- a/cgit.h
+++ b/cgit.h
@@ -47,6 +47,10 @@ extern char *cgit_query_sha1;
 
 extern int htmlfd;
 
+extern void cgit_global_config_cb(const char *name, const char *value);
+extern void cgit_repo_config_cb(const char *name, const char *value);
+extern void cgit_querystring_cb(const char *name, const char *value);
+
 extern char *fmt(const char *format,...);
 
 extern void html(const char *txt);
@@ -62,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);
 
@@ -75,11 +80,9 @@ extern void cgit_print_docend();
 extern void cgit_print_pageheader(char *title);
 
 extern void cgit_print_repolist(struct cacheitem *item);
-
-
-extern void cgit_repo_config_cb(const char *name, const char *value);
-
-extern void cgit_print_repo_summary();
-
+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 */