Wireshark mailing list archives

Re: Template for external dissector plugin


From: Jaap Keuter <jaap.keuter () xs4all nl>
Date: Tue, 20 Dec 2011 16:36:21 +0100

 

On 2011-12-19 16:37, Reinhold Kainhofer wrote: 

Although most
wireshark plugin tutorials tell you to develop
your plugin inside the
wireshark source code,
it it possible to develop a plugin in a
separate directory.

I have created a simple template and a
corresponding
makefile for cmake to develop a plugin in a separate,

external directory, link it to the installed wireshark
library and
install it to a wireshark plugin directory.

You can find the
template (and some basic instructions)
on gitorious:


https://gitorious.org/wireshark-dissector-template/pages/Home


Cheers,
Reinhold

Hi, 

Just for my information, is this the crux of
your location independance? 

find_package(Wireshark)

include_directories (${WIRESHARK_INCLUDE_DIRS}) 

and does this the
mean you need to have the Wireshark development tree available anyway?


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: