author | Lars Hjemli <hjemli@gmail.com> | 2009-02-01 18:17:52 (UTC) |
---|---|---|
committer | Lars Hjemli <hjemli@gmail.com> | 2009-02-01 18:17:52 (UTC) |
commit | 0b3c746ba80738dbe0885a21406409390936537c (patch) (unidiff) | |
tree | 405a9f959feafab650f53e17561a1d3a85cb8097 /cgit.h | |
parent | d6174b7aab476c2b6a86e59d98cf978d603045f4 (diff) | |
parent | b115955d71c50cd2d0065c45f3df6b02fa4730bd (diff) | |
download | cgit-0b3c746ba80738dbe0885a21406409390936537c.zip cgit-0b3c746ba80738dbe0885a21406409390936537c.tar.gz cgit-0b3c746ba80738dbe0885a21406409390936537c.tar.bz2 |
Merge branch 'lh/header'
-rw-r--r-- | cgit.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -90,96 +90,97 @@ struct taginfo { | |||
90 | unsigned long tagger_date; | 90 | unsigned long tagger_date; |
91 | char *msg; | 91 | char *msg; |
92 | }; | 92 | }; |
93 | 93 | ||
94 | struct refinfo { | 94 | struct refinfo { |
95 | const char *refname; | 95 | const char *refname; |
96 | struct object *object; | 96 | struct object *object; |
97 | union { | 97 | union { |
98 | struct taginfo *tag; | 98 | struct taginfo *tag; |
99 | struct commitinfo *commit; | 99 | struct commitinfo *commit; |
100 | }; | 100 | }; |
101 | }; | 101 | }; |
102 | 102 | ||
103 | struct reflist { | 103 | struct reflist { |
104 | struct refinfo **refs; | 104 | struct refinfo **refs; |
105 | int alloc; | 105 | int alloc; |
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; |
170 | int summary_log; | 171 | int summary_log; |
171 | int summary_tags; | 172 | int summary_tags; |
172 | }; | 173 | }; |
173 | 174 | ||
174 | struct cgit_page { | 175 | struct cgit_page { |
175 | time_t modified; | 176 | time_t modified; |
176 | time_t expires; | 177 | time_t expires; |
177 | size_t size; | 178 | size_t size; |
178 | char *mimetype; | 179 | char *mimetype; |
179 | char *charset; | 180 | char *charset; |
180 | char *filename; | 181 | char *filename; |
181 | char *title; | 182 | char *title; |
182 | }; | 183 | }; |
183 | 184 | ||
184 | struct cgit_context { | 185 | struct cgit_context { |
185 | struct cgit_query qry; | 186 | struct cgit_query qry; |