> Well, you could store an ihash_t in the struct, which is a pointer.
> Why would you want to store the struct and use init/destroy? You need the
> address anyway when invocing the functions operating on it.
>
> Are you taking advantage of this in some code?
No, however, Thomas is. Take a look at proc/hash.c. He uses several
hash structures and never initializes them. He is using the assumption
that initializing everything to NULL is reasonable, which it happens to
be at the moment.
PGP signature