Cleanup handling of environment variables

Signed-off-by: Lars Hjemli <hjemli@gmail.com>
Tento commit je obsažen v:
Lars Hjemli
2009-08-10 08:21:09 +02:00
rodič e6cd7121ed
revize 60a26272e0
3 změnil soubory, kde provedl 45 přidání a 33 odebrání

13
cgit.h
Zobrazit soubor

@ -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;