dirplex: Added directory capture mode.
[ashd.git] / src / dirplex / dirplex.h
index 14b704c..34402e3 100644 (file)
@@ -16,6 +16,7 @@ struct config {
     struct child *children;
     struct pattern *patterns;
     char **index;
+    char *capture;
 };
 
 struct rule {
@@ -35,7 +36,7 @@ struct child *getchild(struct config *cf, char *name);
 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;