summaryrefslogtreecommitdiff
path: root/cgit.h
diff options
context:
space:
mode:
authorLars Hjemli <hjemli@gmail.com>2009-08-11 08:12:53 +0000
committerLars Hjemli <hjemli@gmail.com>2009-08-11 08:12:53 +0000
commit2c742d1a925486a47f74710325b3076a7742a9f9 (patch)
treee16e8de4c65cb659a5b487ac3f8a7d7254fef395 /cgit.h
parentfcc6056230e367e276dcb5a292d45e272cc6e7e6 (diff)
parent80550bbe028b551550395653d32a0ba50db540ef (diff)
downloadcgit-2c742d1a925486a47f74710325b3076a7742a9f9.tar
cgit-2c742d1a925486a47f74710325b3076a7742a9f9.tar.gz
cgit-2c742d1a925486a47f74710325b3076a7742a9f9.zip
Merge branch 'lh/embedded'
Diffstat (limited to 'cgit.h')
-rw-r--r--cgit.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/cgit.h b/cgit.h
index 4c854ea..d90ccdc 100644
--- a/cgit.h
+++ b/cgit.h
@@ -207,7 +207,21 @@ struct cgit_page {
char *statusmsg;
};
+struct cgit_environment {
+ char *cgit_config;
+ char *http_host;
+ char *https;
+ char *no_http;
+ char *path_info;
+ char *query_string;
+ char *request_method;
+ char *script_name;
+ char *server_name;
+ char *server_port;
+};
+
struct cgit_context {
+ struct cgit_environment env;
struct cgit_query qry;
struct cgit_config cfg;
struct cgit_repo *repo;