author | Lars Hjemli <hjemli@gmail.com> | 2009-01-29 20:27:39 (UTC) |
---|---|---|
committer | Lars Hjemli <hjemli@gmail.com> | 2009-01-29 20:27:39 (UTC) |
commit | b115955d71c50cd2d0065c45f3df6b02fa4730bd (patch) (unidiff) | |
tree | 074182f3e305b4982a97c482ed5fbcc5c6d270a7 /cgit.h | |
parent | a61871a18ffa9fc28e7ab0950415404350c8c857 (diff) | |
download | cgit-b115955d71c50cd2d0065c45f3df6b02fa4730bd.zip cgit-b115955d71c50cd2d0065c45f3df6b02fa4730bd.tar.gz cgit-b115955d71c50cd2d0065c45f3df6b02fa4730bd.tar.bz2 |
Add support for a custom header
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
-rw-r--r-- | cgit.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -106,64 +106,65 @@ struct reflist { | |||
106 | int count; | 106 | int count; |
107 | }; | 107 | }; |
108 | 108 | ||
109 | struct cgit_query { | 109 | struct cgit_query { |
110 | int has_symref; | 110 | int has_symref; |
111 | int has_sha1; | 111 | int has_sha1; |
112 | char *raw; | 112 | char *raw; |
113 | char *repo; | 113 | char *repo; |
114 | char *page; | 114 | char *page; |
115 | char *search; | 115 | char *search; |
116 | char *grep; | 116 | char *grep; |
117 | char *head; | 117 | char *head; |
118 | char *sha1; | 118 | char *sha1; |
119 | char *sha2; | 119 | char *sha2; |
120 | char *path; | 120 | char *path; |
121 | char *name; | 121 | char *name; |
122 | char *mimetype; | 122 | char *mimetype; |
123 | char *url; | 123 | char *url; |
124 | char *period; | 124 | char *period; |
125 | int ofs; | 125 | int ofs; |
126 | int nohead; | 126 | int nohead; |
127 | char *sort; | 127 | char *sort; |
128 | int showmsg; | 128 | int showmsg; |
129 | }; | 129 | }; |
130 | 130 | ||
131 | struct cgit_config { | 131 | struct cgit_config { |
132 | char *agefile; | 132 | char *agefile; |
133 | char *cache_root; | 133 | char *cache_root; |
134 | char *clone_prefix; | 134 | char *clone_prefix; |
135 | char *css; | 135 | char *css; |
136 | char *favicon; | 136 | char *favicon; |
137 | char *footer; | 137 | char *footer; |
138 | char *header; | ||
138 | char *index_header; | 139 | char *index_header; |
139 | char *index_info; | 140 | char *index_info; |
140 | char *logo; | 141 | char *logo; |
141 | char *logo_link; | 142 | char *logo_link; |
142 | char *module_link; | 143 | char *module_link; |
143 | char *repo_group; | 144 | char *repo_group; |
144 | char *robots; | 145 | char *robots; |
145 | char *root_title; | 146 | char *root_title; |
146 | char *root_desc; | 147 | char *root_desc; |
147 | char *root_readme; | 148 | char *root_readme; |
148 | char *script_name; | 149 | char *script_name; |
149 | char *virtual_root; | 150 | char *virtual_root; |
150 | int cache_size; | 151 | int cache_size; |
151 | int cache_dynamic_ttl; | 152 | int cache_dynamic_ttl; |
152 | int cache_max_create_time; | 153 | int cache_max_create_time; |
153 | int cache_repo_ttl; | 154 | int cache_repo_ttl; |
154 | int cache_root_ttl; | 155 | int cache_root_ttl; |
155 | int cache_static_ttl; | 156 | int cache_static_ttl; |
156 | int enable_index_links; | 157 | int enable_index_links; |
157 | int enable_log_filecount; | 158 | int enable_log_filecount; |
158 | int enable_log_linecount; | 159 | int enable_log_linecount; |
159 | int local_time; | 160 | int local_time; |
160 | int max_repo_count; | 161 | int max_repo_count; |
161 | int max_commit_count; | 162 | int max_commit_count; |
162 | int max_lock_attempts; | 163 | int max_lock_attempts; |
163 | int max_msg_len; | 164 | int max_msg_len; |
164 | int max_repodesc_len; | 165 | int max_repodesc_len; |
165 | int max_stats; | 166 | int max_stats; |
166 | int nocache; | 167 | int nocache; |
167 | int renamelimit; | 168 | int renamelimit; |
168 | int snapshots; | 169 | int snapshots; |
169 | int summary_branches; | 170 | int summary_branches; |