diff options
author | Lars Hjemli <hjemli@gmail.com> | 2009-08-10 08:21:09 +0200 |
---|---|---|
committer | Lars Hjemli <hjemli@gmail.com> | 2009-08-10 08:21:09 +0200 |
commit | 60a26272e0ca529407fe6b613f061f04ba585d53 (patch) | |
tree | c2b6ee3c19a44bd276043650298229c481ca4535 /cgit.h | |
parent | e6cd7121edf55c13f04cd5d6fca8f07c4035ce0a (diff) | |
download | cgit-60a26272e0ca529407fe6b613f061f04ba585d53.tar.gz cgit-60a26272e0ca529407fe6b613f061f04ba585d53.tar.bz2 cgit-60a26272e0ca529407fe6b613f061f04ba585d53.zip |
Cleanup handling of environment variables
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
Diffstat (limited to '')
-rw-r--r-- | cgit.h | 13 |
1 files changed, 13 insertions, 0 deletions
@@ -207,7 +207,20 @@ struct cgit_page { char *statusmsg; }; +struct cgit_environment { + char *cgit_config; + char *http_host; + char *https; + 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; |