lib/ccan/htable: clean up interface, document htable_type better.
authorRusty Russell <rusty@rustcorp.com.au>
Mon, 5 Dec 2011 06:12:47 +0000 (16:42 +1030)
committerRusty Russell <rusty@rustcorp.com.au>
Mon, 5 Dec 2011 06:12:47 +0000 (16:42 +1030)
commit0ac7deefbf190e11d38cc47807e0f5f6cfb1775e
treeeb45e5db11b9d051b117e63a2cd4f4d69e7e9c19
parent19409ddaf2414dd1d8ef183c834b37c8767034b0
lib/ccan/htable: clean up interface, document htable_type better.

We change from htable_new()/htable_free() to htable_init/htable_clear.
We also change HTABLE_DEFINE_TYPE() to be the full name, without automatically
prepending htable_.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
(Imported from CCAN commit 0c3590dc33d644f73bb8587db454c491830aaf26)
lib/ccan/htable/_info
lib/ccan/htable/htable.c
lib/ccan/htable/htable.h
lib/ccan/htable/htable_type.h
lib/ccan/htable/test/run-size.c
lib/ccan/htable/test/run-type.c
lib/ccan/htable/test/run.c
lib/ccan/htable/tools/speed.c
lib/ccan/htable/tools/stringspeed.c