[utils] adding a boolean flag on string tree iterators for single path trees

This commit is contained in:
Al
2015-05-18 13:57:11 -04:00
parent 4694371cdc
commit 58571f70cc
2 changed files with 13 additions and 3 deletions

View File

@@ -161,6 +161,7 @@ void string_tree_destroy(string_tree_t *self);
typedef struct string_tree_iterator {
string_tree_t *tree;
bool single_path;
uint32_t *path;
uint32_t *num_alternatives;
uint32_t num_tokens;