chiark / gitweb /
Concentrate knowledge about the `pcre' API in one place.
[disorder] / lib / trackdb.h
index 1a74bb7fd176e74129c5a89656f6ab619f16921f..de2c6771c447538178a23ff59a3a4d973555bd4b 100644 (file)
@@ -21,9 +21,8 @@
 #ifndef TRACKDB_H
 #define TRACKDB_H
 
-#include <pcre.h>
-
 #include "event.h"
+#include "regexp.h"
 #include "rights.h"
 
 extern const struct cache_type cache_files_type;
@@ -125,7 +124,7 @@ enum trackdb_listable {
 };
 
 char **trackdb_list(const char *dir, int *np, enum trackdb_listable what,
-                    const pcre *rec);
+                    const regexp *rec);
 /* Return the directories and/or files below DIR.  If DIR is a null pointer
  * then concatenate the listing of all collections.
  *