Dolda2000 GitWeb
/
ashd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
build: Rename configure.in according to autoconf standards.
[ashd.git]
/
src
/
dirplex
/
dirplex.h
diff --git
a/src/dirplex/dirplex.h
b/src/dirplex/dirplex.h
index
34402e3
..
754327d
100644
(file)
--- a/
src/dirplex/dirplex.h
+++ b/
src/dirplex/dirplex.h
@@
-5,9
+5,11
@@
#define PAT_PATHNAME 1
#define PAT_ALL 2
#define PAT_DEFAULT 3
#define PAT_PATHNAME 1
#define PAT_ALL 2
#define PAT_DEFAULT 3
+#define PAT_LOCAL 4
#define PT_FILE 0
#define PT_DIR 1
#define PT_FILE 0
#define PT_DIR 1
+#define PT_NOTFOUND 2
struct config {
struct config *next, *prev;
struct config {
struct config *next, *prev;
@@
-15,8
+17,9
@@
struct config {
time_t mtime, lastck;
struct child *children;
struct pattern *patterns;
time_t mtime, lastck;
struct child *children;
struct pattern *patterns;
- char **index;
- char *capture;
+ char **index, **dotallow;
+ char *capture, *reparse;
+ int caproot, parsecomb;
};
struct rule {
};
struct rule {
@@
-24,9
+27,15
@@
struct rule {
char **patterns;
};
char **patterns;
};
+struct headmod {
+ struct headmod *next;
+ char *name, *value;
+};
+
struct pattern {
struct pattern *next;
int type;
struct pattern {
struct pattern *next;
int type;
+ struct headmod *headers;
char *childnm;
char **fchild;
struct rule **rules;
char *childnm;
char **fchild;
struct rule **rules;
@@
-37,9
+46,11
@@
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 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;
extern time_t now;
+extern struct child *notfound;
extern struct config *gconfig, *lconfig;
#endif
extern struct config *gconfig, *lconfig;
#endif