[phrases] separating get_data_node from tail_match for tries

This commit is contained in:
Al
2015-05-20 13:51:04 -04:00
parent bfb9aa21a1
commit 1fee0a3e35
2 changed files with 17 additions and 14 deletions

View File

@@ -85,7 +85,8 @@ void trie_set_check(trie_t *self, uint32_t index, int32_t check);
trie_node_t trie_get_root(trie_t *self);
trie_node_t trie_get_free_list(trie_t *self);
trie_data_node_t trie_get_data_node(trie_t *self, trie_node_t node, char *str);
trie_data_node_t trie_get_data_node(trie_t *self, trie_node_t node);
bool trie_tail_match(trie_t *self, char *str, uint32_t tail_index);
uint32_t trie_add_transition(trie_t *self, uint32_t node_id, unsigned char c);