Wireshark-dev: Re: [Wireshark-dev] Where do I get gmodule.h for dissector development
From: Jaap Keuter <[email protected]>
Date: Mon, 6 Nov 2006 12:25:49 +0100 (CET)
Hi,

Please consult the Wireshark Developer Manual for all steps needed to
setup your (plugin) development environment. You can find it in the
documentation and developer section of the Wireshark website.

Currently there is no way to setup a plugin development environment only.
This is due to that fact that the plugin API isn't stable yet, hence all
plugins must be build and used within the same context as the version of
Wireshark you intend to use.

Thanx,
Jaap

On Mon, 6 Nov 2006, Robert Trybis wrote:

> Hello,
>
> I want to write a dissector and I am trying to work through the example
> "packet-foo" from the documentation.
>
> I downloaded the Windows binary distribution for WireShark 00.99.4 , as
> I only want to write a plugin and don't wish to build the entire
> program.
>
> The install worked perfectly and I can capture packets on the network.
>
> However the "packet-foo" example requires include files that don't come
> with the binary distribution e.g.
>
> #ifdef HAVE_CONFIG_H
> # include "config.h"
> #endif
>
> #include <gmodule.h>
> #include <epan/packet.h>
> #include <epan/prefs.h>
>
> I then used SVN to checkout release 00.99.4 of the source, to match the
> binary I had obtained previously.
>
> This seems to contain packet.h and prefs.h but not gmodule.h
>
> Can anybody tell me where I can get gmodule.h ?
>
> Also there is a file config.h.win32 which I presume I should use as
> config.h can somebody confirm this.
>
> Thanks
>