Code

utils llist: Added sdb_llist_iter_remove_current().
authorSebastian Harl <sh@tokkee.org>
Fri, 25 Oct 2013 15:23:32 +0000 (17:23 +0200)
committerSebastian Harl <sh@tokkee.org>
Fri, 25 Oct 2013 15:23:32 +0000 (17:23 +0200)
commit57e2d5775d9571506773ec135662c6c788103669
treed230003f6d8698c57ffa5b0a79c30a1dbf4b174f
parent08f22afc30f1658a89aed05d4d596debe034c20a
utils llist: Added sdb_llist_iter_remove_current().

This function may be used to remove the current (the one returned by the last
sdb_llist_iter_get_next() call) iterator value from the list.

Note, that this function is not safe if another iterator is used in parallel
at the same time.
src/include/utils/llist.h
src/utils/llist.c
t/utils/llist_test.c