X-Git-Url: https://git.distorted.org.uk/~mdw/sgt/agedu/blobdiff_plain/0313b788487ecaadbe31429ea955fc920d8f6557..05b0f827bf0178896f9484fe093fb0d99fa67ba2:/trie.h diff --git a/trie.h b/trie.h index ef52a08..6a6d7ed 100644 --- a/trie.h +++ b/trie.h @@ -50,6 +50,17 @@ int triebuild_finish(triebuild *tb); void triebuild_free(triebuild *tb); /* ---------------------------------------------------------------------- + * Anomalous function which modifies a trie after it's memory-mapped. + */ + +/* + * Invent new fake atimes for each directory in the trie, by + * taking the maximum (latest) of the directory's previously + * stored atime and the atimes of everything below it. + */ +void trie_fake_dir_atimes(void *t); + +/* ---------------------------------------------------------------------- * Functions to query a trie given a pointer to the start of the * memory-mapped file. */