Wireshark mailing list archives
Re: Template for external dissector plugin
From: Jaap Keuter <jaap.keuter () xs4all nl>
Date: Wed, 21 Dec 2011 15:41:54 +0100
On 2011-12-21 11:00, Reinhold Kainhofer wrote:
On 20/12/2011
17:12, Reinhold Kainhofer wrote:
On 20/12/2011 16:36, Jaap Keuter
wrote:
Just for my information, is this the crux of your
location independance?
find_package(Wireshark)
include_directories (${WIRESHARK_INCLUDE_DIRS})
Yes, the
cmake/FindWireshark.cmake file (which is executed with the find_package) locates the libwireshark.so library and the wireshark headers (e.g. /usr/include/wireshark).
BTW, I just realized that by default
wireshark does not install any headers (but installs the wireshark.so library). Ubuntu manually installs the following headers with the libwireshark-dev package (the rule to install those files is only in debian/rules):
color.h config.h register.h epan/*.h
epan/crypt/*.h
epan/dfilter/*.h epan/dissectors/*.h
epan/ftypes/*.h
Is there a particular reason that's speaking
against installing those header files (which would make plugin development much easier, since you don't need to modify the wireshark source tree -- or even have it available)?
Cheers, Reinhold
Hi, Well, it was never intended to have libwireshark as a separate library. Now it's somewhat strong armed into the limelight, and it shows. The Debian packager (Balint) did a good job for Debian, but it is/was not a goal in itself. Thanks, Jaap
___________________________________________________________________________ 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:
- Template for external dissector plugin Reinhold Kainhofer (Dec 19)
- Re: Template for external dissector plugin Jaap Keuter (Dec 20)
- Re: Template for external dissector plugin Reinhold Kainhofer (Dec 20)
- Re: Template for external dissector plugin Reinhold Kainhofer (Dec 21)
- Re: Template for external dissector plugin Jaap Keuter (Dec 21)
- Re: Template for external dissector plugin Reinhold Kainhofer (Dec 20)
- Re: Template for external dissector plugin Jaap Keuter (Dec 20)
- Re: Template for external dissector plugin Chris Maynard (Dec 21)
- Re: Template for external dissector plugin Reinhold Kainhofer (Dec 22)