Wireshark

  • Riverbed Technology
  • WinPcap
the world's foremost network protocol analyzer
  • Wireshark
    • About
    • Download
    • Blog
  • Get Help
    • Ask a Question
    • FAQs
    • Documentation
    • Mailing Lists
    • Online Tools
    • Wiki
    • Bug Tracker
  • Develop
    • Get Involved
    • Developer's Guide
    • Browse the Code
    • Latest Builds

Wireshark-dev: [Wireshark-dev] Where do I get gmodule.h for dissector development

Date Index Thread Index Other Months All Mailing Lists
Date Prev Date Next Thread Prev Thread Next


From: "Robert Trybis" <rt@xxxxxxxxxxxxx>
Date: Mon, 6 Nov 2006 10:59:15 -0000

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

 

  • Follow-Ups:
    • Re: [Wireshark-dev] Where do I get gmodule.h for dissector development
      • From: Jaap Keuter
  • Prev by Date: Re: [Wireshark-dev] Anonymous union in epan/dissectors/packet-scsi-osd.c not valid with Sun C compiler
  • Next by Date: Re: [Wireshark-dev] Where do I get gmodule.h for dissector development
  • Previous by thread: [Wireshark-dev] Where do I get gmodule.h for dissector development
  • Next by thread: Re: [Wireshark-dev] Where do I get gmodule.h for dissector development
  • Index(es):
    • Date
    • Thread

Wireshark and the "fin" logo are registered trademarks of the Wireshark Foundation