Wireshark mailing list archives

multiple dissectors


From: Brian Oleksa <oleksab () darkcornersoftware com>
Date: Thu, 18 Feb 2010 15:12:50 -0500


Wiresharkers

Right now I have basically 2 dissectors in one C file. For example:

I have    void dissect_test
             void dissect_test2

All in the same file called packet-testing.c

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..??

Thanks,
Brian


___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev () wireshark org>
Archives:    http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
             mailto:wireshark-dev-request () wireshark org?subject=unsubscribe


Current thread: