Wireshark-dev: Re: [Wireshark-dev] multiple dissectors
From: Stephen Fisher <steve@xxxxxxxxxxxxxxxxxx>
Date: Sat, 27 Mar 2010 21:41:41 -0600
On Thu, Feb 18, 2010 at 03:12:50PM -0500, Brian Oleksa wrote:

> Which means I have 2 of the following methods as well:
> 
> void proto_reg_handoff_test(void)
> void proto_reg_handoff_test2(void)
> 
> void proto_register_test(void)
> void proto_register_test2(void)
> 
> My question is... Is this good practice..?? Or should these be 
> separated..??

I would only put two dissectors in the same source file if they are 
for different versions of the same protocol.


-- 
Steve