htable: clean up interface, document htable_type better.
authorRusty Russell <rusty@rustcorp.com.au>
Tue, 27 Sep 2011 05:07:01 +0000 (14:37 +0930)
committerRusty Russell <rusty@rustcorp.com.au>
Tue, 27 Sep 2011 05:07:01 +0000 (14:37 +0930)
commit0c3590dc33d644f73bb8587db454c491830aaf26
tree56110d74137ad00dc9950cad759676aa92b6be79
parent45f24da35118db441e6153f02f6ddd937da1fa1c
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_.
ccan/htable/_info
ccan/htable/htable.c
ccan/htable/htable.h
ccan/htable/htable_type.h
ccan/htable/test/run-size.c
ccan/htable/test/run-type.c
ccan/htable/test/run.c
ccan/htable/tools/speed.c
ccan/htable/tools/stringspeed.c
tools/ccanlint/file_analysis.c
tools/ccanlint/tests/reduce_features.c