Wireshark mailing list archives
Re: RFD: Creating subdirectories in epan/dissectors/
From: Evan Huus <eapache () gmail com>
Date: Sat, 25 Aug 2012 12:18:12 -0400
On Sat, Aug 25, 2012 at 9:31 AM, Steve Karg <skarg () users sourceforge net> wrote:
Hello Joerg, [snip]What I'd like to do is put these dissectors that belong *to a single protocol* into a subdirectory of that name, i.e. move them to[snip]xmpp/packet-other.c xmpp/packet-other.h xmpp/packet-utils.c xmpp/packet-utils.hThese kind of file names could be in every protocol...What do you think?Based on experience with another open source C project where I did segregate files into sub-folders and tried to simplify the file names by utilizing sub-directories, you will likely have file naming conflicts between protocols if you remove the protocol name from the file. C file names must be unique in the build (for most compilers and linkers that I have used).
Hmmm... why not do something more like: xmpp/xmpp-other.c xmpp/xmpp-other.h xmpp/xmpp-utils.c xmpp/xmpp-utils.h I've never understood why they're all prefixed with packet- anyways, the fact that they're in epan/dissectors should be enough? Cheers, Evan ___________________________________________________________________________ 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:
- RFD: Creating subdirectories in epan/dissectors/ Joerg Mayer (Aug 25)
- Re: RFD: Creating subdirectories in epan/dissectors/ Joerg Mayer (Aug 25)
- Re: RFD: Creating subdirectories in epan/dissectors/ Steve Karg (Aug 25)
- Re: RFD: Creating subdirectories in epan/dissectors/ Evan Huus (Aug 25)
- Re: RFD: Creating subdirectories in epan/dissectors/ Jeff Morriss (Aug 27)
- Re: RFD: Creating subdirectories in epan/dissectors/ Evan Huus (Aug 25)
- Re: RFD: Creating subdirectories in epan/dissectors/ Jeff Morriss (Aug 29)
- Re: RFD: Creating subdirectories in epan/dissectors/ Evan Huus (Aug 29)
- Re: RFD: Creating subdirectories in epan/dissectors/ Jeff Morriss (Aug 29)
- Re: RFD: Creating subdirectories in epan/dissectors/ Anders Broman (Aug 29)
- Re: RFD: Creating subdirectories in epan/dissectors/ Evan Huus (Aug 29)
- Re: RFD: Creating subdirectories in epan/dissectors/ Anders Broman (Aug 30)
- Re: RFD: Creating subdirectories in epan/dissectors/ Evan Huus (Aug 30)
- Re: RFD: Creating subdirectories in epan/dissectors/ Roland Knall (Aug 30)
- Re: RFD: Creating subdirectories in epan/dissectors/ Evan Huus (Aug 30)
- Re: RFD: Creating subdirectories in epan/dissectors/ Evan Huus (Aug 29)