aboutsummaryrefslogtreecommitdiffstats
path: root/cgit.h
diff options
context:
space:
mode:
Diffstat (limited to 'cgit.h')
-rw-r--r--cgit.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/cgit.h b/cgit.h
index 4c854ea..893231d 100644
--- a/cgit.h
+++ b/cgit.h
@@ -207,7 +207,20 @@ struct cgit_page {
207 char *statusmsg; 207 char *statusmsg;
208}; 208};
209 209
210struct cgit_environment {
211 char *cgit_config;
212 char *http_host;
213 char *https;
214 char *path_info;
215 char *query_string;
216 char *request_method;
217 char *script_name;
218 char *server_name;
219 char *server_port;
220};
221
210struct cgit_context { 222struct cgit_context {
223 struct cgit_environment env;
211 struct cgit_query qry; 224 struct cgit_query qry;
212 struct cgit_config cfg; 225 struct cgit_config cfg;
213 struct cgit_repo *repo; 226 struct cgit_repo *repo;