| 1071 | }; |
| 1072 | |
| 1073 | static void attr_state_queue_push(struct attr_state_queue *t, |
| 1074 | const struct match_attr *a) |
| 1075 | { |
| 1076 | for (size_t i = 0; i < a->num_attr; i++) { |
| 1077 | ALLOC_GROW(t->items, t->nr + 1, t->alloc); |
| 1078 | t->items[t->nr++] = &a->state[i]; |
| 1079 | } |
| 1080 | } |
| 1081 | |
| 1082 | static const struct attr_state *attr_state_queue_pop(struct attr_state_queue *t) |
| 1083 | { |