aboutsummaryrefslogtreecommitdiffstats
path: root/ui-shared.h
diff options
context:
space:
mode:
Diffstat (limited to 'ui-shared.h')
-rw-r--r--ui-shared.h69
1 files changed, 40 insertions, 29 deletions
diff --git a/ui-shared.h b/ui-shared.h
index 9ebc1f9..308c982 100644
--- a/ui-shared.h
+++ b/ui-shared.h
@@ -10,36 +10,47 @@ extern char *cgit_fileurl(const char *reponame, const char *pagename,
10extern char *cgit_pageurl(const char *reponame, const char *pagename, 10extern char *cgit_pageurl(const char *reponame, const char *pagename,
11 const char *query); 11 const char *query);
12 12
13extern void cgit_index_link(char *name, char *title, char *class, 13extern void cgit_index_link(const char *name, const char *title,
14 char *pattern, int ofs); 14 const char *class, const char *pattern, int ofs);
15extern void cgit_summary_link(char *name, char *title, char *class, char *head); 15extern void cgit_summary_link(const char *name, const char *title,
16extern void cgit_tag_link(char *name, char *title, char *class, char *head, 16 const char *class, const char *head);
17 char *rev); 17extern void cgit_tag_link(const char *name, const char *title,
18extern void cgit_tree_link(char *name, char *title, char *class, char *head, 18 const char *class, const char *head,
19 char *rev, char *path); 19 const char *rev);
20extern void cgit_plain_link(char *name, char *title, char *class, char *head, 20extern void cgit_tree_link(const char *name, const char *title,
21 char *rev, char *path); 21 const char *class, const char *head,
22extern void cgit_log_link(char *name, char *title, char *class, char *head, 22 const char *rev, const char *path);
23 char *rev, char *path, int ofs, char *grep, 23extern void cgit_plain_link(const char *name, const char *title,
24 char *pattern, int showmsg); 24 const char *class, const char *head,
25extern void cgit_commit_link(char *name, char *title, char *class, char *head, 25 const char *rev, const char *path);
26 char *rev, int toggle_ssdiff); 26extern void cgit_log_link(const char *name, const char *title,
27extern void cgit_patch_link(char *name, char *title, char *class, char *head, 27 const char *class, const char *head, const char *rev,
28 char *rev); 28 const char *path, int ofs, const char *grep,
29extern void cgit_refs_link(char *name, char *title, char *class, char *head, 29 const char *pattern, int showmsg);
30 char *rev, char *path); 30extern void cgit_commit_link(char *name, const char *title,
31extern void cgit_snapshot_link(char *name, char *title, char *class, 31 const char *class, const char *head,
32 char *head, char *rev, char *archivename); 32 const char *rev, int toggle_ssdiff);
33extern void cgit_diff_link(char *name, char *title, char *class, char *head, 33extern void cgit_patch_link(const char *name, const char *title,
34 char *new_rev, char *old_rev, char *path, 34 const char *class, const char *head,
35 int toggle_ssdiff); 35 const char *rev);
36extern void cgit_stats_link(char *name, char *title, char *class, char *head, 36extern void cgit_refs_link(const char *name, const char *title,
37 char *path); 37 const char *class, const char *head,
38 const char *rev, const char *path);
39extern void cgit_snapshot_link(const char *name, const char *title,
40 const char *class, const char *head,
41 const char *rev, const char *archivename);
42extern void cgit_diff_link(const char *name, const char *title,
43 const char *class, const char *head,
44 const char *new_rev, const char *old_rev,
45 const char *path, int toggle_ssdiff);
46extern void cgit_stats_link(const char *name, const char *title,
47 const char *class, const char *head,
48 const char *path);
38extern void cgit_object_link(struct object *obj); 49extern void cgit_object_link(struct object *obj);
39 50
40extern void cgit_print_error(char *msg); 51extern void cgit_print_error(const char *msg);
41extern void cgit_print_date(time_t secs, char *format, int local_time); 52extern void cgit_print_date(time_t secs, const char *format, int local_time);
42extern void cgit_print_age(time_t t, time_t max_relative, char *format); 53extern void cgit_print_age(time_t t, time_t max_relative, const char *format);
43extern void cgit_print_http_headers(struct cgit_context *ctx); 54extern void cgit_print_http_headers(struct cgit_context *ctx);
44extern void cgit_print_docstart(struct cgit_context *ctx); 55extern void cgit_print_docstart(struct cgit_context *ctx);
45extern void cgit_print_docend(); 56extern void cgit_print_docend();
@@ -48,5 +59,5 @@ extern void cgit_print_filemode(unsigned short mode);
48extern void cgit_print_snapshot_links(const char *repo, const char *head, 59extern void cgit_print_snapshot_links(const char *repo, const char *head,
49 const char *hex, int snapshots); 60 const char *hex, int snapshots);
50extern void cgit_add_hidden_formfields(int incl_head, int incl_search, 61extern void cgit_add_hidden_formfields(int incl_head, int incl_search,
51 char *page); 62 const char *page);
52#endif /* UI_SHARED_H */ 63#endif /* UI_SHARED_H */