Wireshark mailing list archives

Re: small query


From: Graham Bloice <graham.bloice () trihedral com>
Date: Wed, 29 Aug 2012 11:42:11 +0100

-----Original Message-----
From: wireshark-dev-bounces () wireshark org [mailto:wireshark-dev-
bounces () wireshark org] On Behalf Of Ed Beroset
Sent: 29 August 2012 11:32
To: Developer support list for Wireshark
Subject: Re: [Wireshark-dev] small query

Krishnamurthy Mayya wrote:
Hi all,
   If i am writing a new file, in order for it to be compiled do i
have to include the file-name in any existing directory/files??
   the location of the new file is epan/dissectors.

Generally, yes.  The easiest way to find out where in a well-established
project like Wireshark is to identify some similar file, such as
packet-spice.c
and use grep to find out where that file is mentioned.
When I do that, I find that packet-spice.c is mentioned in
epan/CMakeLists.txt and epan/dissectors/Makefile.common which suggests
where your file name might be added.

[Graham Bloice said]

Or I might read the provided documentation, in docs/README.developer, in
particular section "1.9 Editing Makefile.common and CMakeLists.txt to add
your dissector."

There is also a veritable shedload of other useful info in the same file
as well.
___________________________________________________________________________
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: