X-Git-Url: https://git.distorted.org.uk/~mdw/sgt/agedu/blobdiff_plain/b49db535793898495dc9ee9a05f86c65a2af3190..92d3b3263849ae660384adde0c4ad90fdd82ef4f:/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. */