summaryrefslogtreecommitdiffabout
path: root/cgit.h
authorLars Hjemli <hjemli@gmail.com>2006-12-12 23:13:27 (UTC)
committer Lars Hjemli <hjemli@gmail.com>2006-12-12 23:13:27 (UTC)
commit06fe0c2f47eaf467db8ab1443e61dfa1c280f30a (patch) (unidiff)
tree481164eeeeb5ca3302f7b3d38d1debbad9db9296 /cgit.h
parent58d04f6523b0029281d65f841859fa42d0c744ff (diff)
downloadcgit-06fe0c2f47eaf467db8ab1443e61dfa1c280f30a.zip
cgit-06fe0c2f47eaf467db8ab1443e61dfa1c280f30a.tar.gz
cgit-06fe0c2f47eaf467db8ab1443e61dfa1c280f30a.tar.bz2
Add display of tree content w/ui-tree.c
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
Diffstat (limited to 'cgit.h') (more/less context) (ignore whitespace changes)
-rw-r--r--cgit.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/cgit.h b/cgit.h
index c9554a7..2fdfab3 100644
--- a/cgit.h
+++ b/cgit.h
@@ -38,50 +38,51 @@ extern char *cgit_repo_owner;
38 38
39extern int cgit_query_has_symref; 39extern int cgit_query_has_symref;
40extern int cgit_query_has_sha1; 40extern int cgit_query_has_sha1;
41 41
42extern char *cgit_querystring; 42extern char *cgit_querystring;
43extern char *cgit_query_repo; 43extern char *cgit_query_repo;
44extern char *cgit_query_page; 44extern char *cgit_query_page;
45extern char *cgit_query_head; 45extern char *cgit_query_head;
46extern char *cgit_query_sha1; 46extern char *cgit_query_sha1;
47 47
48extern int htmlfd; 48extern int htmlfd;
49 49
50extern void cgit_global_config_cb(const char *name, const char *value); 50extern void cgit_global_config_cb(const char *name, const char *value);
51extern void cgit_repo_config_cb(const char *name, const char *value); 51extern void cgit_repo_config_cb(const char *name, const char *value);
52extern void cgit_querystring_cb(const char *name, const char *value); 52extern void cgit_querystring_cb(const char *name, const char *value);
53 53
54extern char *fmt(const char *format,...); 54extern char *fmt(const char *format,...);
55 55
56extern void html(const char *txt); 56extern void html(const char *txt);
57extern void htmlf(const char *format,...); 57extern void htmlf(const char *format,...);
58extern void html_txt(char *txt); 58extern void html_txt(char *txt);
59extern void html_attr(char *txt); 59extern void html_attr(char *txt);
60extern void html_link_open(char *url, char *title, char *class); 60extern void html_link_open(char *url, char *title, char *class);
61extern void html_link_close(void); 61extern void html_link_close(void);
62 62
63extern int cgit_read_config(const char *filename, configfn fn); 63extern int cgit_read_config(const char *filename, configfn fn);
64extern int cgit_parse_query(char *txt, configfn fn); 64extern int cgit_parse_query(char *txt, configfn fn);
65 65
66extern void cache_prepare(struct cacheitem *item); 66extern void cache_prepare(struct cacheitem *item);
67extern int cache_lock(struct cacheitem *item); 67extern int cache_lock(struct cacheitem *item);
68extern int cache_unlock(struct cacheitem *item); 68extern int cache_unlock(struct cacheitem *item);
69extern int cache_cancel_lock(struct cacheitem *item); 69extern int cache_cancel_lock(struct cacheitem *item);
70extern int cache_exist(struct cacheitem *item); 70extern int cache_exist(struct cacheitem *item);
71extern int cache_expired(struct cacheitem *item); 71extern int cache_expired(struct cacheitem *item);
72 72
73extern char *cgit_repourl(const char *reponame); 73extern char *cgit_repourl(const char *reponame);
74extern char *cgit_pageurl(const char *reponame, const char *pagename, 74extern char *cgit_pageurl(const char *reponame, const char *pagename,
75 const char *query); 75 const char *query);
76 76
77extern void cgit_print_error(char *msg); 77extern void cgit_print_error(char *msg);
78extern void cgit_print_docstart(char *title, struct cacheitem *item); 78extern void cgit_print_docstart(char *title, struct cacheitem *item);
79extern void cgit_print_docend(); 79extern void cgit_print_docend();
80extern void cgit_print_pageheader(char *title); 80extern void cgit_print_pageheader(char *title);
81 81
82extern void cgit_print_repolist(struct cacheitem *item); 82extern void cgit_print_repolist(struct cacheitem *item);
83extern void cgit_print_summary(); 83extern void cgit_print_summary();
84extern void cgit_print_log(const char *tip, int ofs, int cnt); 84extern void cgit_print_log(const char *tip, int ofs, int cnt);
85extern void cgit_print_view(char *hex); 85extern void cgit_print_view(char *hex);
86extern void cgit_print_tree(const char *sha1);
86 87
87#endif /* CGIT_H */ 88#endif /* CGIT_H */