diff options
author | Lars Hjemli | 2010-06-22 16:15:48 +0200 |
---|---|---|
committer | Lars Hjemli | 2010-06-22 16:15:48 +0200 |
commit | 37a24e4e39737edaa5cdde501346a65eeb280e63 (patch) | |
tree | ff23eb0d57edf108edd1aa3e64a8d6cf70062954 /ui-shared.h | |
parent | 47187b33be1c3de43fbed6f350ab05bc978aacd0 (diff) | |
parent | a2cbd3c30b64a26b52b2003ba6569f3c083f4092 (diff) | |
download | cgit-37a24e4e39737edaa5cdde501346a65eeb280e63.tar.gz cgit-37a24e4e39737edaa5cdde501346a65eeb280e63.tar.bz2 cgit-37a24e4e39737edaa5cdde501346a65eeb280e63.zip |
Merge branch 'jh/path-limit'
Conflicts:
cgit.h
ui-commit.c
Diffstat (limited to 'ui-shared.h')
-rw-r--r-- | ui-shared.h | 72 |
1 files changed, 43 insertions, 29 deletions
diff --git a/ui-shared.h b/ui-shared.h index 9ebc1f9..3cc1258 100644 --- a/ui-shared.h +++ b/ui-shared.h | |||
@@ -10,36 +10,50 @@ extern char *cgit_fileurl(const char *reponame, const char *pagename, | |||
10 | extern char *cgit_pageurl(const char *reponame, const char *pagename, | 10 | extern char *cgit_pageurl(const char *reponame, const char *pagename, |
11 | const char *query); | 11 | const char *query); |
12 | 12 | ||
13 | extern void cgit_index_link(char *name, char *title, char *class, | 13 | extern void cgit_index_link(const char *name, const char *title, |
14 | char *pattern, int ofs); | 14 | const char *class, const char *pattern, int ofs); |
15 | extern void cgit_summary_link(char *name, char *title, char *class, char *head); | 15 | extern void cgit_summary_link(const char *name, const char *title, |
16 | extern void cgit_tag_link(char *name, char *title, char *class, char *head, | 16 | const char *class, const char *head); |
17 | char *rev); | 17 | extern void cgit_tag_link(const char *name, const char *title, |
18 | extern 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); |
20 | extern void cgit_plain_link(char *name, char *title, char *class, char *head, | 20 | extern void cgit_tree_link(const char *name, const char *title, |
21 | char *rev, char *path); | 21 | const char *class, const char *head, |
22 | extern 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, | 23 | extern void cgit_plain_link(const char *name, const char *title, |
24 | char *pattern, int showmsg); | 24 | const char *class, const char *head, |
25 | extern 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); | 26 | extern void cgit_log_link(const char *name, const char *title, |
27 | extern 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, |
29 | extern void cgit_refs_link(char *name, char *title, char *class, char *head, | 29 | const char *pattern, int showmsg); |
30 | char *rev, char *path); | 30 | extern void cgit_commit_link(char *name, const char *title, |
31 | extern 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, const char *path, |
33 | extern void cgit_diff_link(char *name, char *title, char *class, char *head, | 33 | int toggle_ssdiff); |
34 | char *new_rev, char *old_rev, char *path, | 34 | extern void cgit_patch_link(const char *name, const char *title, |
35 | int toggle_ssdiff); | 35 | const char *class, const char *head, |
36 | extern void cgit_stats_link(char *name, char *title, char *class, char *head, | 36 | const char *rev, const char *path); |
37 | char *path); | 37 | extern void cgit_refs_link(const char *name, const char *title, |
38 | const char *class, const char *head, | ||
39 | const char *rev, const char *path); | ||
40 | extern void cgit_snapshot_link(const char *name, const char *title, | ||
41 | const char *class, const char *head, | ||
42 | const char *rev, const char *archivename); | ||
43 | extern void cgit_diff_link(const char *name, const char *title, | ||
44 | const char *class, const char *head, | ||
45 | const char *new_rev, const char *old_rev, | ||
46 | const char *path, int toggle_ssdiff); | ||
47 | extern void cgit_stats_link(const char *name, const char *title, | ||
48 | const char *class, const char *head, | ||
49 | const char *path); | ||
50 | extern void cgit_self_link(char *name, const char *title, | ||
51 | const char *class, struct cgit_context *ctx); | ||
38 | extern void cgit_object_link(struct object *obj); | 52 | extern void cgit_object_link(struct object *obj); |
39 | 53 | ||
40 | extern void cgit_print_error(char *msg); | 54 | extern void cgit_print_error(const char *msg); |
41 | extern void cgit_print_date(time_t secs, char *format, int local_time); | 55 | extern void cgit_print_date(time_t secs, const char *format, int local_time); |
42 | extern void cgit_print_age(time_t t, time_t max_relative, char *format); | 56 | extern void cgit_print_age(time_t t, time_t max_relative, const char *format); |
43 | extern void cgit_print_http_headers(struct cgit_context *ctx); | 57 | extern void cgit_print_http_headers(struct cgit_context *ctx); |
44 | extern void cgit_print_docstart(struct cgit_context *ctx); | 58 | extern void cgit_print_docstart(struct cgit_context *ctx); |
45 | extern void cgit_print_docend(); | 59 | extern void cgit_print_docend(); |
@@ -48,5 +62,5 @@ extern void cgit_print_filemode(unsigned short mode); | |||
48 | extern void cgit_print_snapshot_links(const char *repo, const char *head, | 62 | extern void cgit_print_snapshot_links(const char *repo, const char *head, |
49 | const char *hex, int snapshots); | 63 | const char *hex, int snapshots); |
50 | extern void cgit_add_hidden_formfields(int incl_head, int incl_search, | 64 | extern void cgit_add_hidden_formfields(int incl_head, int incl_search, |
51 | char *page); | 65 | const char *page); |
52 | #endif /* UI_SHARED_H */ | 66 | #endif /* UI_SHARED_H */ |