Dolda2000 GitWeb
/
ashd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
python: Moved the Python 3 files to their own directory and restored Python 2 files.
[ashd.git]
/
src
/
dirplex
/
dirplex.h
diff --git
a/src/dirplex/dirplex.h
b/src/dirplex/dirplex.h
index
14b704c
..
a025719
100644
(file)
--- a/
src/dirplex/dirplex.h
+++ b/
src/dirplex/dirplex.h
@@
-5,6
+5,7
@@
#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
@@
-16,6
+17,7
@@
struct config {
struct child *children;
struct pattern *patterns;
char **index;
struct child *children;
struct pattern *patterns;
char **index;
+ char *capture;
};
struct rule {
};
struct rule {
@@
-35,10
+37,11
@@
struct child *getchild(struct config *cf, char *name);
struct config *readconfig(char *file);
struct config *getconfig(char *path);
struct config **getconfigs(char *file);
struct config *readconfig(char *file);
struct config *getconfig(char *path);
struct config **getconfigs(char *file);
-struct child *findchild(char *file, char *name);
+struct child *findchild(char *file, char *name
, struct config **cf
);
struct pattern *findmatch(char *file, int trydefault, int dir);
extern time_t now;
struct pattern *findmatch(char *file, int trydefault, int dir);
extern time_t now;
+extern struct child *notfound;
extern struct config *gconfig, *lconfig;
#endif
extern struct config *gconfig, *lconfig;
#endif