Some improvements to the trie:
authorFlorent Bruneau <florent.bruneau@polytechnique.org>
Wed, 17 Sep 2008 20:19:53 +0000 (22:19 +0200)
committerFlorent Bruneau <florent.bruneau@polytechnique.org>
Wed, 17 Sep 2008 20:19:53 +0000 (22:19 +0200)
commit1ed216354a7c74d35906aeee845f1b688d888505
tree7adb723b5c9e343d89ef858cd00f5efdc4f56cf9
parentc1d7275428570d953a7d138d364235242f1c0d34
Some improvements to the trie:
  - add trie_prefix to check if the trie contains a prefix for    a string.
  - add comments
  - lock the trie_t structure, not only its content.

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
common/trie.c
common/trie.h