about summary refs log tree commit diff
path: root/cgit.h
diff options
context:
space:
mode:
authorLars Hjemli <hjemli@gmail.com>2009-08-11 10:12:53 +0200
committerLars Hjemli <hjemli@gmail.com>2009-08-11 10:12:53 +0200
commit2c742d1a925486a47f74710325b3076a7742a9f9 (patch)
treee16e8de4c65cb659a5b487ac3f8a7d7254fef395 /cgit.h
parentcgitrc.5.txt: describe where/how cgit will locate cgitrc (diff)
parentui-shared: add support for header/footer options when embedded=1 (diff)
downloadcgit-magenta-2c742d1a925486a47f74710325b3076a7742a9f9.tar.xz
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;