X-Git-Url: https://git.distorted.org.uk/~mdw/disorder/blobdiff_plain/657fdb79cbec1dba609675200797415978a50315..14b5913c9e30978620dbb6f2b85651e8bf7147e9:/lib/trackdb.h diff --git a/lib/trackdb.h b/lib/trackdb.h index 1a74bb7..de2c677 100644 --- a/lib/trackdb.h +++ b/lib/trackdb.h @@ -21,9 +21,8 @@ #ifndef TRACKDB_H #define TRACKDB_H -#include - #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. *