> excuse me. that's what hjdicks was for .. and it's called pack. ok. > > abuse them or yourselfs for using such code. > > brucee
what's the alternative? what i can think of is either
cutting & pasting the repeated elements or not using
unnamed structures at all. unfortunately, that results
in awful code like so
h = (hdr*)buf;
p = (proto*)h->data;
e = (subprobo*)p->data;
- erik
