|
diff --git a/cgit.h b/cgit.h index e2d5126..1b23369 100644 --- a/ cgit.h+++ b/ cgit.h |
|
@@ -240,54 +240,37 @@ extern int cache_expired(struct cacheitem *item); |
240 | extern char *cgit_repourl(const char *reponame); |
240 | extern char *cgit_repourl(const char *reponame); |
241 | extern char *cgit_fileurl(const char *reponame, const char *pagename, |
241 | extern char *cgit_fileurl(const char *reponame, const char *pagename, |
242 | const char *filename, const char *query); |
242 | const char *filename, const char *query); |
243 | extern char *cgit_pageurl(const char *reponame, const char *pagename, |
243 | extern char *cgit_pageurl(const char *reponame, const char *pagename, |
244 | const char *query); |
244 | const char *query); |
245 | |
245 | |
246 | extern const char *cgit_repobasename(const char *reponame); |
246 | extern const char *cgit_repobasename(const char *reponame); |
247 | |
247 | |
248 | extern void cgit_tree_link(char *name, char *title, char *class, char *head, |
248 | extern void cgit_tree_link(char *name, char *title, char *class, char *head, |
249 | char *rev, char *path); |
249 | char *rev, char *path); |
250 | extern void cgit_log_link(char *name, char *title, char *class, char *head, |
250 | extern void cgit_log_link(char *name, char *title, char *class, char *head, |
251 | char *rev, char *path, int ofs, char *grep, |
251 | char *rev, char *path, int ofs, char *grep, |
252 | char *pattern); |
252 | char *pattern); |
253 | extern void cgit_commit_link(char *name, char *title, char *class, char *head, |
253 | extern void cgit_commit_link(char *name, char *title, char *class, char *head, |
254 | char *rev); |
254 | char *rev); |
255 | extern void cgit_refs_link(char *name, char *title, char *class, char *head, |
255 | extern void cgit_refs_link(char *name, char *title, char *class, char *head, |
256 | char *rev, char *path); |
256 | char *rev, char *path); |
257 | extern void cgit_snapshot_link(char *name, char *title, char *class, |
257 | extern void cgit_snapshot_link(char *name, char *title, char *class, |
258 | char *head, char *rev, char *archivename); |
258 | char *head, char *rev, char *archivename); |
259 | extern void cgit_diff_link(char *name, char *title, char *class, char *head, |
259 | extern void cgit_diff_link(char *name, char *title, char *class, char *head, |
260 | char *new_rev, char *old_rev, char *path); |
260 | char *new_rev, char *old_rev, char *path); |
261 | |
261 | |
262 | extern void cgit_object_link(struct object *obj); |
262 | extern void cgit_object_link(struct object *obj); |
263 | |
263 | |
264 | extern void cgit_print_error(char *msg); |
264 | extern void cgit_print_error(char *msg); |
265 | extern void cgit_print_date(time_t secs, char *format); |
265 | extern void cgit_print_date(time_t secs, char *format); |
266 | extern void cgit_print_age(time_t t, time_t max_relative, char *format); |
266 | extern void cgit_print_age(time_t t, time_t max_relative, char *format); |
267 | extern void cgit_print_http_headers(struct cgit_context *ctx); |
267 | extern void cgit_print_http_headers(struct cgit_context *ctx); |
268 | extern void cgit_print_docstart(struct cgit_context *ctx); |
268 | extern void cgit_print_docstart(struct cgit_context *ctx); |
269 | extern void cgit_print_docend(); |
269 | extern void cgit_print_docend(); |
270 | extern void cgit_print_pageheader(struct cgit_context *ctx); |
270 | extern void cgit_print_pageheader(struct cgit_context *ctx); |
271 | extern void cgit_print_filemode(unsigned short mode); |
271 | extern void cgit_print_filemode(unsigned short mode); |
272 | extern void cgit_print_branches(int maxcount); |
| |
273 | extern void cgit_print_tags(int maxcount); |
| |
274 | |
| |
275 | extern void cgit_print_repolist(); |
| |
276 | extern void cgit_print_summary(); |
| |
277 | extern void cgit_print_log(const char *tip, int ofs, int cnt, char *grep, |
| |
278 | char *pattern, char *path, int pager); |
| |
279 | extern void cgit_print_blob(const char *hex, char *path); |
| |
280 | extern void cgit_print_tree(const char *rev, char *path); |
| |
281 | extern void cgit_print_commit(char *hex); |
| |
282 | extern void cgit_print_refs(); |
| |
283 | extern void cgit_print_tag(char *revname); |
| |
284 | extern void cgit_print_diff(const char *new_hex, const char *old_hex, const char *prefix); |
| |
285 | extern void cgit_print_patch(char *hex); |
| |
286 | extern void cgit_print_snapshot(const char *head, const char *hex, |
| |
287 | const char *prefix, const char *filename, |
| |
288 | int snapshot); |
| |
289 | extern void cgit_print_snapshot_links(const char *repo, const char *head, |
272 | extern void cgit_print_snapshot_links(const char *repo, const char *head, |
290 | const char *hex, int snapshots); |
273 | const char *hex, int snapshots); |
291 | extern int cgit_parse_snapshots_mask(const char *str); |
274 | extern int cgit_parse_snapshots_mask(const char *str); |
292 | |
275 | |
293 | #endif /* CGIT_H */ |
276 | #endif /* CGIT_H */ |
|