|
diff --git a/cgit.h b/cgit.h index 268db53..a905e47 100644 --- a/ cgit.h+++ b/ cgit.h |
|
@@ -71,28 +71,29 @@ extern void html_link_close(void); |
71 | |
71 | |
72 | extern int cgit_read_config(const char *filename, configfn fn); |
72 | extern int cgit_read_config(const char *filename, configfn fn); |
73 | extern int cgit_parse_query(char *txt, configfn fn); |
73 | extern int cgit_parse_query(char *txt, configfn fn); |
74 | extern struct commitinfo *cgit_parse_commit(struct commit *commit); |
74 | extern struct commitinfo *cgit_parse_commit(struct commit *commit); |
75 | |
75 | |
76 | extern void cache_prepare(struct cacheitem *item); |
76 | extern void cache_prepare(struct cacheitem *item); |
77 | extern int cache_lock(struct cacheitem *item); |
77 | extern int cache_lock(struct cacheitem *item); |
78 | extern int cache_unlock(struct cacheitem *item); |
78 | extern int cache_unlock(struct cacheitem *item); |
79 | extern int cache_cancel_lock(struct cacheitem *item); |
79 | extern int cache_cancel_lock(struct cacheitem *item); |
80 | extern int cache_exist(struct cacheitem *item); |
80 | extern int cache_exist(struct cacheitem *item); |
81 | extern int cache_expired(struct cacheitem *item); |
81 | extern int cache_expired(struct cacheitem *item); |
82 | |
82 | |
83 | extern char *cgit_repourl(const char *reponame); |
83 | extern char *cgit_repourl(const char *reponame); |
84 | extern char *cgit_pageurl(const char *reponame, const char *pagename, |
84 | extern char *cgit_pageurl(const char *reponame, const char *pagename, |
85 | const char *query); |
85 | const char *query); |
86 | |
86 | |
87 | extern void cgit_print_error(char *msg); |
87 | extern void cgit_print_error(char *msg); |
88 | extern void cgit_print_docstart(char *title, struct cacheitem *item); |
88 | extern void cgit_print_docstart(char *title, struct cacheitem *item); |
89 | extern void cgit_print_docend(); |
89 | extern void cgit_print_docend(); |
90 | extern void cgit_print_pageheader(char *title); |
90 | extern void cgit_print_pageheader(char *title); |
91 | |
91 | |
92 | extern void cgit_print_repolist(struct cacheitem *item); |
92 | extern void cgit_print_repolist(struct cacheitem *item); |
93 | extern void cgit_print_summary(); |
93 | extern void cgit_print_summary(); |
94 | extern void cgit_print_log(const char *tip, int ofs, int cnt); |
94 | extern void cgit_print_log(const char *tip, int ofs, int cnt); |
95 | extern void cgit_print_view(char *hex); |
95 | extern void cgit_print_view(const char *hex); |
96 | extern void cgit_print_tree(const char *sha1); |
96 | extern void cgit_print_tree(const char *hex); |
| |
97 | extern void cgit_print_commit(const char *hex); |
97 | |
98 | |
98 | #endif /* CGIT_H */ |
99 | #endif /* CGIT_H */ |
|