htable: add iterators to htable_type.
authorRusty Russell <rusty@rustcorp.com.au>
Tue, 26 Apr 2016 04:18:40 +0000 (13:48 +0930)
committerRusty Russell <rusty@rustcorp.com.au>
Tue, 26 Apr 2016 04:18:40 +0000 (13:48 +0930)
commita0f174c63680a3dd8fc61333f79231ffdf7e96b1
treef130ab9adaade2402e82c4c5f5cacb347a861e30
parente8f7a978bf4eb41c1877958e31a1a7213680335b
htable: add iterators to htable_type.

Useful if you have more than one object with same key.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
ccan/htable/htable_type.h
ccan/htable/test/run-type.c