list.h: opaque list iteration functionality
authorAndrey Smirnov <andrew.smirnov@gmail.com>
Mon, 12 Dec 2011 03:22:44 +0000 (13:52 +1030)
committerRusty Russell <rusty@rustcorp.com.au>
Mon, 12 Dec 2011 03:22:44 +0000 (13:52 +1030)
commite59b7388d8b2b56dc759be7c2dbf63100d2e131f
treee139f831b76d8beee67da5cf6820931d8b52c26a
parent87f505a56eae7ef2a03a76b5b412d6bc46c58aae
list.h: opaque list iteration functionality

See https://github.com/rustyrussell/ccan/pull/1#issuecomment-2856561
for details.
(Reworked with minor cleanups -- Rusty)
ccan/list/list.h
ccan/list/test/helper.c [new file with mode: 0644]
ccan/list/test/helper.h [new file with mode: 0644]
ccan/list/test/run.c