> Since we'er already here with the messy IO code, how about further
> cleaning up the code by replace the switch case with function array that
> is indexed by hdr->opcode? Would be even nicer if you try to re-factor
> the IO logic.

I've never been a huge fan of the indexed function pointer tables,
but if tha is what is wanted it's a trivial change on top of this one.

-- 
sheepdog mailing list
[email protected]
http://lists.wpkg.org/mailman/listinfo/sheepdog

Reply via email to