[torquedev] keeping struct tree

Matti Bickel cat5 at minet.uni-jena.de
Thu May 8 15:46:41 MDT 2008


Hi Steve,

Steve Snelgrove <ssnelgrove at clusterresources.com> wrote:
>
> Just about as simple as a linked list is an array of pointers to linked 
> lists where you have a simple hash function to pick which one to use.  This 
> keeps the length of the lists under control.

That's the problem if you don't work with the code for so long - i
forgot the reason why struct tree is still there. It's that simple -
struct stream is not uniquely identifiable by struct sockaddr_storage...
And the implementation i did was based on comparing struct
sockaddr_storages.

So i can't use struct list_t (the new thing) for struct stream :/
Guess the idea is now mute.
-- 
Regards, Matti Bickel
Signed/Encrypted email preferred (key 4849EC6C)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
Url : http://www.supercluster.org/pipermail/torquedev/attachments/20080508/09e51e70/attachment.bin


More information about the torquedev mailing list