Wireshark-dev: [Wireshark-dev] splitting dissector code

From: Riya Dixit <Riya.Dixit@xxxxxxx>
Date: Thu, 21 Jul 2022 06:58:18 +0000
I am beginner in writing a small dissector for PLDM protocol. And I am stuck at a situation where I should split the dissector code into different files based of different specifications (I don’t imply having different dissectors). Is it possible to have proto_register_pldm for a dissector in two different file or one dissector can have only one definition in packet-pldm.c file. What is the right way to solve it  & is there an example that I can look at to achieve this ?
 
Thanks
Riya Dixit.