]> git.ozlabs.org Git - ccan/commit
list: add list_next and list_prev helpers.
authorRusty Russell <rusty@rustcorp.com.au>
Thu, 29 Aug 2013 00:48:47 +0000 (10:18 +0930)
committerRusty Russell <rusty@rustcorp.com.au>
Thu, 29 Aug 2013 00:48:47 +0000 (10:18 +0930)
commitb160cdd09b23e03768428cda48a4c7981046405b
tree11a810627c34b75b7304d42f003e41ab3b4d6f80
parent5628cd2c21655a84dfcf5cc693c8c0d5701fe75d
list: add list_next and list_prev helpers.

Some way towards iterating in the middle of the list.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
ccan/list/list.h
ccan/list/test/run-list_prev-list_next.c [new file with mode: 0644]