]> git.ipfire.org Git - thirdparty/FORT-validator.git/commit
Add ARRAYLIST_FOREACH_IDX
authorAlberto Leiva Popper <ydahhrk@gmail.com>
Tue, 12 Sep 2023 21:54:27 +0000 (15:54 -0600)
committerAlberto Leiva Popper <ydahhrk@gmail.com>
Tue, 12 Sep 2023 21:55:50 +0000 (15:55 -0600)
commit3ea323adc097f8847710a20f19fb83828e2a6852
tree70e46563779a46816a1e7405756fc23bd86ab8d1
parentc717043aad5bf8306a437ac0020bdfceeb8d2234
Add ARRAYLIST_FOREACH_IDX

The old ARRAYLIST_FOREACH provided both a cursor and a counter.
Most users weren't using the counter, so I separated them:

The new ARRAYLIST_FOREACH uses a cursor,
the new ARRAYLIST_FOREACH_IDX uses a counter.
src/cert_stack.c
src/data_structure/array_list.h
src/object/certificate.c
src/rpp.c
src/rrdp/rrdp_objects.c
src/rtr/db/delta.c
src/rtr/rtr.c
src/slurm/db_slurm.c