X-Git-Url: https://git.distorted.org.uk/~mdw/sgt/agedu/blobdiff_plain/522edd92f2bbef89ccd1dd0a3e874516fb47e2ef..e28113b43a24871fc5162f83050606ddf69ecc52:/index.h diff --git a/index.h b/index.h index bc76900..97b9b65 100644 --- a/index.h +++ b/index.h @@ -51,6 +51,12 @@ off_t indexbuild_realsize(indexbuild *ib); void indexbuild_free(indexbuild *ib); /* + * Check to see if a name index has an index tree root available + * (i.e. represents a directory rather than a file). + */ +int index_has_root(const void *t, int n); + +/* * Query an index to find the total size of records with name * index strictly less than n, with atime less than at. */