X-Git-Url: http://www.dolda2000.com/gitweb/?a=blobdiff_plain;f=src%2Fdirplex%2Fdirplex.h;h=a025719582049bbe024fa21fa3ee997504724c98;hb=b70b2d4f237082541d01b4b33abc86ef2b7b2223;hp=d4865294138a9c6ec55472c94fc92eca3e22369b;hpb=da75c835b71b9ed9cf1d2c8fcbcfb7631dd24a05;p=ashd.git diff --git a/src/dirplex/dirplex.h b/src/dirplex/dirplex.h index d486529..a025719 100644 --- 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_LOCAL 4 #define PT_FILE 0 #define PT_DIR 1 @@ -16,6 +17,7 @@ struct config { struct child *children; struct pattern *patterns; char **index; + char *capture; }; struct rule { @@ -39,6 +41,7 @@ struct child *findchild(char *file, char *name, struct config **cf); struct pattern *findmatch(char *file, int trydefault, int dir); extern time_t now; +extern struct child *notfound; extern struct config *gconfig, *lconfig; #endif