|
diff --git a/cgit.h b/cgit.h index c9554a7..2fdfab3 100644 --- a/ cgit.h+++ b/ cgit.h |
|
@@ -62,26 +62,27 @@ extern void html_link_close(void); |
62 | |
62 | |
63 | extern int cgit_read_config(const char *filename, configfn fn); |
63 | extern int cgit_read_config(const char *filename, configfn fn); |
64 | extern int cgit_parse_query(char *txt, configfn fn); |
64 | extern int cgit_parse_query(char *txt, configfn fn); |
65 | |
65 | |
66 | extern void cache_prepare(struct cacheitem *item); |
66 | extern void cache_prepare(struct cacheitem *item); |
67 | extern int cache_lock(struct cacheitem *item); |
67 | extern int cache_lock(struct cacheitem *item); |
68 | extern int cache_unlock(struct cacheitem *item); |
68 | extern int cache_unlock(struct cacheitem *item); |
69 | extern int cache_cancel_lock(struct cacheitem *item); |
69 | extern int cache_cancel_lock(struct cacheitem *item); |
70 | extern int cache_exist(struct cacheitem *item); |
70 | extern int cache_exist(struct cacheitem *item); |
71 | extern int cache_expired(struct cacheitem *item); |
71 | extern int cache_expired(struct cacheitem *item); |
72 | |
72 | |
73 | extern char *cgit_repourl(const char *reponame); |
73 | extern char *cgit_repourl(const char *reponame); |
74 | extern char *cgit_pageurl(const char *reponame, const char *pagename, |
74 | extern char *cgit_pageurl(const char *reponame, const char *pagename, |
75 | const char *query); |
75 | const char *query); |
76 | |
76 | |
77 | extern void cgit_print_error(char *msg); |
77 | extern void cgit_print_error(char *msg); |
78 | extern void cgit_print_docstart(char *title, struct cacheitem *item); |
78 | extern void cgit_print_docstart(char *title, struct cacheitem *item); |
79 | extern void cgit_print_docend(); |
79 | extern void cgit_print_docend(); |
80 | extern void cgit_print_pageheader(char *title); |
80 | extern void cgit_print_pageheader(char *title); |
81 | |
81 | |
82 | extern void cgit_print_repolist(struct cacheitem *item); |
82 | extern void cgit_print_repolist(struct cacheitem *item); |
83 | extern void cgit_print_summary(); |
83 | extern void cgit_print_summary(); |
84 | extern void cgit_print_log(const char *tip, int ofs, int cnt); |
84 | extern void cgit_print_log(const char *tip, int ofs, int cnt); |
85 | extern void cgit_print_view(char *hex); |
85 | extern void cgit_print_view(char *hex); |
| |
86 | extern void cgit_print_tree(const char *sha1); |
86 | |
87 | |
87 | #endif /* CGIT_H */ |
88 | #endif /* CGIT_H */ |
|