Unidiff1 files changed, 14 insertions, 0 deletions
|
diff --git a/cgit.h b/cgit.h index 4c854ea..d90ccdc 100644 --- a/ cgit.h+++ b/ cgit.h |
|
@@ -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; |
|