dirplex: Made the 404 response indirectible and reusable.
[ashd.git] / src / dirplex / dirplex.h
index 34402e3..a025719 100644 (file)
@@ -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
@@ -40,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