author | Lars Hjemli <hjemli@gmail.com> | 2009-08-11 08:12:53 (UTC) |
---|---|---|
committer | Lars Hjemli <hjemli@gmail.com> | 2009-08-11 08:12:53 (UTC) |
commit | 2c742d1a925486a47f74710325b3076a7742a9f9 (patch) (unidiff) | |
tree | e16e8de4c65cb659a5b487ac3f8a7d7254fef395 /cgit.h | |
parent | fcc6056230e367e276dcb5a292d45e272cc6e7e6 (diff) | |
parent | 80550bbe028b551550395653d32a0ba50db540ef (diff) | |
download | cgit-2c742d1a925486a47f74710325b3076a7742a9f9.zip cgit-2c742d1a925486a47f74710325b3076a7742a9f9.tar.gz cgit-2c742d1a925486a47f74710325b3076a7742a9f9.tar.bz2 |
Merge branch 'lh/embedded'
-rw-r--r-- | cgit.h | 14 |
1 files changed, 14 insertions, 0 deletions
@@ -206,9 +206,23 @@ struct cgit_page { | |||
206 | int status; | 206 | int status; |
207 | char *statusmsg; | 207 | char *statusmsg; |
208 | }; | 208 | }; |
209 | 209 | ||
210 | struct cgit_environment { | ||
211 | char *cgit_config; | ||
212 | char *http_host; | ||
213 | char *https; | ||
214 | char *no_http; | ||
215 | char *path_info; | ||
216 | char *query_string; | ||
217 | char *request_method; | ||
218 | char *script_name; | ||
219 | char *server_name; | ||
220 | char *server_port; | ||
221 | }; | ||
222 | |||
210 | struct cgit_context { | 223 | struct cgit_context { |
224 | struct cgit_environment env; | ||
211 | struct cgit_query qry; | 225 | struct cgit_query qry; |
212 | struct cgit_config cfg; | 226 | struct cgit_config cfg; |
213 | struct cgit_repo *repo; | 227 | struct cgit_repo *repo; |
214 | struct cgit_page page; | 228 | struct cgit_page page; |