|
diff --git a/cgit.h b/cgit.h index 0fff7b0..f5906ad 100644 --- a/ cgit.h+++ b/ cgit.h |
|
@@ -46,64 +46,65 @@ struct repolist { |
46 | }; |
46 | }; |
47 | |
47 | |
48 | struct commitinfo { |
48 | struct commitinfo { |
49 | struct commit *commit; |
49 | struct commit *commit; |
50 | char *author; |
50 | char *author; |
51 | char *author_email; |
51 | char *author_email; |
52 | unsigned long author_date; |
52 | unsigned long author_date; |
53 | char *committer; |
53 | char *committer; |
54 | char *committer_email; |
54 | char *committer_email; |
55 | unsigned long committer_date; |
55 | unsigned long committer_date; |
56 | char *subject; |
56 | char *subject; |
57 | char *msg; |
57 | char *msg; |
58 | }; |
58 | }; |
59 | |
59 | |
60 | struct taginfo { |
60 | struct taginfo { |
61 | char *tagger; |
61 | char *tagger; |
62 | char *tagger_email; |
62 | char *tagger_email; |
63 | int tagger_date; |
63 | int tagger_date; |
64 | char *msg; |
64 | char *msg; |
65 | }; |
65 | }; |
66 | |
66 | |
67 | extern const char cgit_version[]; |
67 | extern const char cgit_version[]; |
68 | |
68 | |
69 | extern struct repolist cgit_repolist; |
69 | extern struct repolist cgit_repolist; |
70 | extern struct repoinfo *cgit_repo; |
70 | extern struct repoinfo *cgit_repo; |
71 | |
71 | |
72 | extern char *cgit_root_title; |
72 | extern char *cgit_root_title; |
73 | extern char *cgit_css; |
73 | extern char *cgit_css; |
74 | extern char *cgit_logo; |
74 | extern char *cgit_logo; |
75 | extern char *cgit_logo_link; |
75 | extern char *cgit_logo_link; |
76 | extern char *cgit_module_link; |
76 | extern char *cgit_module_link; |
77 | extern char *cgit_virtual_root; |
77 | extern char *cgit_virtual_root; |
| |
78 | extern char *cgit_script_name; |
78 | extern char *cgit_cache_root; |
79 | extern char *cgit_cache_root; |
79 | |
80 | |
80 | extern int cgit_nocache; |
81 | extern int cgit_nocache; |
81 | extern int cgit_snapshots; |
82 | extern int cgit_snapshots; |
82 | extern int cgit_max_lock_attempts; |
83 | extern int cgit_max_lock_attempts; |
83 | extern int cgit_cache_root_ttl; |
84 | extern int cgit_cache_root_ttl; |
84 | extern int cgit_cache_repo_ttl; |
85 | extern int cgit_cache_repo_ttl; |
85 | extern int cgit_cache_dynamic_ttl; |
86 | extern int cgit_cache_dynamic_ttl; |
86 | extern int cgit_cache_static_ttl; |
87 | extern int cgit_cache_static_ttl; |
87 | extern int cgit_cache_max_create_time; |
88 | extern int cgit_cache_max_create_time; |
88 | |
89 | |
89 | extern int cgit_max_msg_len; |
90 | extern int cgit_max_msg_len; |
90 | extern int cgit_max_commit_count; |
91 | extern int cgit_max_commit_count; |
91 | |
92 | |
92 | extern char *cgit_repo_name; |
93 | extern char *cgit_repo_name; |
93 | extern char *cgit_repo_desc; |
94 | extern char *cgit_repo_desc; |
94 | extern char *cgit_repo_owner; |
95 | extern char *cgit_repo_owner; |
95 | |
96 | |
96 | extern int cgit_query_has_symref; |
97 | extern int cgit_query_has_symref; |
97 | extern int cgit_query_has_sha1; |
98 | extern int cgit_query_has_sha1; |
98 | |
99 | |
99 | extern char *cgit_querystring; |
100 | extern char *cgit_querystring; |
100 | extern char *cgit_query_repo; |
101 | extern char *cgit_query_repo; |
101 | extern char *cgit_query_page; |
102 | extern char *cgit_query_page; |
102 | extern char *cgit_query_search; |
103 | extern char *cgit_query_search; |
103 | extern char *cgit_query_head; |
104 | extern char *cgit_query_head; |
104 | extern char *cgit_query_sha1; |
105 | extern char *cgit_query_sha1; |
105 | extern char *cgit_query_sha2; |
106 | extern char *cgit_query_sha2; |
106 | extern char *cgit_query_path; |
107 | extern char *cgit_query_path; |
107 | extern char *cgit_query_name; |
108 | extern char *cgit_query_name; |
108 | extern int cgit_query_ofs; |
109 | extern int cgit_query_ofs; |
109 | |
110 | |
|