diff options
author | Lars Hjemli <hjemli@gmail.com> | 2009-08-11 10:12:53 +0200 |
---|---|---|
committer | Lars Hjemli <hjemli@gmail.com> | 2009-08-11 10:12:53 +0200 |
commit | 2c742d1a925486a47f74710325b3076a7742a9f9 (patch) | |
tree | e16e8de4c65cb659a5b487ac3f8a7d7254fef395 /cgit.h | |
parent | cgitrc.5.txt: describe where/how cgit will locate cgitrc (diff) | |
parent | ui-shared: add support for header/footer options when embedded=1 (diff) | |
download | cgit-pink-2c742d1a925486a47f74710325b3076a7742a9f9.tar.gz cgit-pink-2c742d1a925486a47f74710325b3076a7742a9f9.zip |
Merge branch 'lh/embedded'
Diffstat (limited to 'cgit.h')
-rw-r--r-- | cgit.h | 14 |
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; |