cmd: remove internal usage of legacy iterator interface
This commit is contained in:
@@ -164,24 +164,22 @@ typedef struct b_arglist_value {
|
||||
} b_arglist_value;
|
||||
|
||||
typedef struct b_arglist_iterator {
|
||||
b_iterator _base;
|
||||
size_t i;
|
||||
|
||||
unsigned int opt_id;
|
||||
struct b_arglist_value *value;
|
||||
|
||||
b_btree_iterator _opt_it, _arg_it;
|
||||
b_btree_node *_opt_it, *_arg_it;
|
||||
unsigned int _opt_filter, _arg_filter;
|
||||
} b_arglist_iterator;
|
||||
|
||||
typedef struct b_arglist_option_iterator {
|
||||
b_iterator _base;
|
||||
size_t i;
|
||||
|
||||
unsigned int opt_id;
|
||||
struct b_arglist_option *opt;
|
||||
|
||||
b_btree_iterator _opt_it;
|
||||
b_btree_node *_opt_it;
|
||||
unsigned int _opt_filter;
|
||||
} b_arglist_option_iterator;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user