Code

utils llist: Added sdb_llist_clear().
authorSebastian Harl <sh@tokkee.org>
Mon, 21 Apr 2014 16:52:48 +0000 (18:52 +0200)
committerSebastian Harl <sh@tokkee.org>
Mon, 21 Apr 2014 16:52:48 +0000 (18:52 +0200)
commited920688e7cdc9fd497044379c8d14da0dfaebeb
tree1f4f15ed76636434d815b4fd302bafd19b085dc7
parent0f15d3bfce3c5953c520f19a8d0220791fdb2c32
utils llist: Added sdb_llist_clear().

This function clears the list by removing all elements and releasing the
included objects. It's similar to destroy() but does not actually release the
list object itself.
src/include/utils/llist.h
src/utils/llist.c
t/utils/llist_test.c