X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/disorder/blobdiff_plain/c7e016d34b8f0429c0cd9e5366625fdf83776297..a2e9d1472af7f3693cd7843eb3ff4d8b23423fc8:/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. *