[trie] trie_set_data_node method

This commit is contained in:
Al
2015-07-07 03:38:17 -04:00
parent 53908ac604
commit af1a5f6213
2 changed files with 6 additions and 0 deletions

View File

@@ -86,6 +86,7 @@ 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);
bool trie_set_data_node(trie_t *self, uint32_t index, trie_data_node_t data_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);