Add another utility for ordinary lists

This commit is contained in:
Nick Chambers 2022-11-17 01:09:28 -06:00
parent 5d730b22ac
commit 237a676351
1 changed files with 1 additions and 0 deletions

View File

@ -27,6 +27,7 @@ void ordinary_list_rem(struct ordinary_list *list, struct ordinary_node *node);
struct ordinary_node *ordinary_list_pop(struct ordinary_list *list);
struct ordinary_node *ordinary_list_at(struct ordinary_list *list, uint32_t idx);
uint8_t ordinary_list_full(struct ordinary_list *list);
struct ordinary_node *ordinary_list_find(struct ordinary_list *list, callback cb);
uint8_t ordinary_list_for(struct ordinary_list *list, callback cb);