X-Git-Url: http://www.dolda2000.com/gitweb/?p=ashd.git;a=blobdiff_plain;f=src%2Fdirplex%2Fdirplex.h;h=d3011f56c0ae3788b0f82a374fc17d4e271470d9;hp=a025719582049bbe024fa21fa3ee997504724c98;hb=acc2d159e6f946ed6abc7c0e843a483d6478bee3;hpb=2037cee268bcd12cc609a38a52b886724079fc4a diff --git a/src/dirplex/dirplex.h b/src/dirplex/dirplex.h index a025719..d3011f5 100644 --- a/src/dirplex/dirplex.h +++ b/src/dirplex/dirplex.h @@ -25,9 +25,15 @@ struct rule { char **patterns; }; +struct headmod { + struct headmod *next; + char *name, *value; +}; + struct pattern { struct pattern *next; int type; + struct headmod *headers; char *childnm; char **fchild; struct rule **rules; @@ -39,6 +45,7 @@ struct config *getconfig(char *path); struct config **getconfigs(char *file); struct child *findchild(char *file, char *name, struct config **cf); struct pattern *findmatch(char *file, int trydefault, int dir); +void modheaders(struct hthead *req, struct pattern *pat); extern time_t now; extern struct child *notfound;