X-Git-Url: http://www.dolda2000.com/gitweb/?p=ashd.git;a=blobdiff_plain;f=src%2Fdirplex%2Fdirplex.h;fp=src%2Fdirplex%2Fdirplex.h;h=ffe12a634901bce24ce26529f89822788dc5ef36;hp=14b5454a75200f4515bc8f337c0887406543a968;hb=bcad6b0c48d516ddc920b52f06083ceaa242e1ca;hpb=589987f8218c9aa61d65f582a3b3e1bbd32bda81 diff --git a/src/dirplex/dirplex.h b/src/dirplex/dirplex.h index 14b5454..ffe12a6 100644 --- a/src/dirplex/dirplex.h +++ b/src/dirplex/dirplex.h @@ -9,6 +9,7 @@ #define PT_FILE 0 #define PT_DIR 1 +#define PT_NOTFOUND 2 struct config { struct config *next, *prev; @@ -17,8 +18,8 @@ struct config { struct child *children; struct pattern *patterns; char **index; - char *capture; - int caproot; + char *capture, *reparse; + int caproot, parsecomb; }; struct rule { @@ -45,7 +46,7 @@ struct config *readconfig(char *file); 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); +struct pattern *findmatch(char *file, int trydefault, int type); void modheaders(struct hthead *req, struct pattern *pat); extern time_t now;