~mdw
/
sgt
/
agedu
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add the --files option, to list individual files in the various
[sgt/agedu]
/
trie.h
diff --git
a/trie.h
b/trie.h
index
727d976
..
ea24ef8
100644
(file)
--- a/
trie.h
+++ b/
trie.h
@@
-91,6
+91,11
@@
unsigned long trie_before(const void *t, const char *pathname);
void trie_getpath(const void *t, unsigned long n, char *buf);
/*
void trie_getpath(const void *t, unsigned long n, char *buf);
/*
+ * Return the trie_file * for the nth entry in the trie.
+ */
+const struct trie_file *trie_getfile(const void *t, unsigned long n);
+
+/*
* Return the total number of entries in the whole trie.
*/
unsigned long trie_count(const void *t);
* Return the total number of entries in the whole trie.
*/
unsigned long trie_count(const void *t);