author | Lars Hjemli <hjemli@gmail.com> | 2007-10-30 09:39:59 (UTC) |
---|---|---|
committer | Lars Hjemli <hjemli@gmail.com> | 2007-10-30 09:39:59 (UTC) |
commit | 10ac7ad1f30f914dc5ff36ba3651ef6dca11aaf7 (patch) (unidiff) | |
tree | 8d185e972d4b235fc46156b9173a3406af2aacf6 /cgit.h | |
parent | fc5880fab8b9afc589aaadd1299c34a6ef2a3c2d (diff) | |
download | cgit-10ac7ad1f30f914dc5ff36ba3651ef6dca11aaf7.zip cgit-10ac7ad1f30f914dc5ff36ba3651ef6dca11aaf7.tar.gz cgit-10ac7ad1f30f914dc5ff36ba3651ef6dca11aaf7.tar.bz2 |
Add config param 'index-info'
This parameter will be used to include a html file in the upcoming sidebar
on the index page.
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
-rw-r--r-- | cgit.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -103,48 +103,49 @@ struct refinfo { | |||
103 | const char *refname; | 103 | const char *refname; |
104 | struct object *object; | 104 | struct object *object; |
105 | union { | 105 | union { |
106 | struct taginfo *tag; | 106 | struct taginfo *tag; |
107 | struct commitinfo *commit; | 107 | struct commitinfo *commit; |
108 | }; | 108 | }; |
109 | }; | 109 | }; |
110 | 110 | ||
111 | struct reflist { | 111 | struct reflist { |
112 | struct refinfo **refs; | 112 | struct refinfo **refs; |
113 | int alloc; | 113 | int alloc; |
114 | int count; | 114 | int count; |
115 | }; | 115 | }; |
116 | 116 | ||
117 | extern const char *cgit_version; | 117 | extern const char *cgit_version; |
118 | 118 | ||
119 | extern struct repolist cgit_repolist; | 119 | extern struct repolist cgit_repolist; |
120 | extern struct repoinfo *cgit_repo; | 120 | extern struct repoinfo *cgit_repo; |
121 | extern int cgit_cmd; | 121 | extern int cgit_cmd; |
122 | 122 | ||
123 | extern char *cgit_root_title; | 123 | extern char *cgit_root_title; |
124 | extern char *cgit_css; | 124 | extern char *cgit_css; |
125 | extern char *cgit_logo; | 125 | extern char *cgit_logo; |
126 | extern char *cgit_index_header; | 126 | extern char *cgit_index_header; |
127 | extern char *cgit_index_info; | ||
127 | extern char *cgit_logo_link; | 128 | extern char *cgit_logo_link; |
128 | extern char *cgit_module_link; | 129 | extern char *cgit_module_link; |
129 | extern char *cgit_agefile; | 130 | extern char *cgit_agefile; |
130 | extern char *cgit_virtual_root; | 131 | extern char *cgit_virtual_root; |
131 | extern char *cgit_script_name; | 132 | extern char *cgit_script_name; |
132 | extern char *cgit_cache_root; | 133 | extern char *cgit_cache_root; |
133 | extern char *cgit_repo_group; | 134 | extern char *cgit_repo_group; |
134 | 135 | ||
135 | extern int cgit_nocache; | 136 | extern int cgit_nocache; |
136 | extern int cgit_snapshots; | 137 | extern int cgit_snapshots; |
137 | extern int cgit_enable_index_links; | 138 | extern int cgit_enable_index_links; |
138 | extern int cgit_enable_log_filecount; | 139 | extern int cgit_enable_log_filecount; |
139 | extern int cgit_enable_log_linecount; | 140 | extern int cgit_enable_log_linecount; |
140 | extern int cgit_max_lock_attempts; | 141 | extern int cgit_max_lock_attempts; |
141 | extern int cgit_cache_root_ttl; | 142 | extern int cgit_cache_root_ttl; |
142 | extern int cgit_cache_repo_ttl; | 143 | extern int cgit_cache_repo_ttl; |
143 | extern int cgit_cache_dynamic_ttl; | 144 | extern int cgit_cache_dynamic_ttl; |
144 | extern int cgit_cache_static_ttl; | 145 | extern int cgit_cache_static_ttl; |
145 | extern int cgit_cache_max_create_time; | 146 | extern int cgit_cache_max_create_time; |
146 | extern int cgit_summary_log; | 147 | extern int cgit_summary_log; |
147 | extern int cgit_summary_tags; | 148 | extern int cgit_summary_tags; |
148 | extern int cgit_summary_branches; | 149 | extern int cgit_summary_branches; |
149 | 150 | ||
150 | extern int cgit_max_msg_len; | 151 | extern int cgit_max_msg_len; |