com32/chain/partiter: make iterators not autofree after fin/err
commit503409bba24d025b9832211a2ea648f4fb649ae0
authorMichal Soltys <soltys@ziu.info>
Sun, 12 Sep 2010 19:33:05 +0000 (12 21:33 +0200)
committerMichal Soltys <soltys@ziu.info>
Tue, 28 Sep 2010 07:32:53 +0000 (28 09:32 +0200)
tree45401bd5c69aeb364796962099c99edf00b92e1c
parent63c8b04a33a452cfe181e1e590a6955a69527a6f
com32/chain/partiter: make iterators not autofree after fin/err

This patch changes iterator behaviour to not free themselves
automatically after finished iteration or error. This allows
us to be able to always:

- check their status through ->status field
- access last valid data

It will allow simplification of pentry_mangle() function in
further commits.

Signed-off-by: Michal Soltys <soltys@ziu.info>
com32/chain/chain.c
com32/chain/partiter.c
com32/chain/partiter.h