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: Re: [Wireshark-dev] how to get Wireshark directory path ?

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


From: wsgd <wsgd@xxxxxxx>
Date: Wed, 01 Apr 2009 20:39:01 +0200

Look at epan/filesystem.h

E.g. on my PC :
get_progfile_dir = Q:\wireshark\1.0.3\wireshark-1.0.3\wireshark-gtk2 get_plugin_dir = Q:\wireshark\1.0.3\wireshark-1.0.3\wireshark-gtk2\plugins\1.0.3oa get_datafile_dir = Q:\wireshark\1.0.3\wireshark-1.0.3\wireshark-gtk2 get_systemfile_dir = Q:\wireshark\1.0.3\wireshark-1.0.3\wireshark-gtk2 get_profiles_dir = C:\Users\Olivier\AppData\Roaming\Wireshark\profiles
     get_persdatafile_dir = C:\Users\Olivier\Documents


Olivier

mirtaher@xxxxxxxxx a écrit :
Hi,

I am writing a plug in to dissect MPICH packets and I need the absolute
path of the wireshark home directory so I can access a shell file on my
plug in folder.

I.e. <wiresharkfolder>/plugins/mpich/<myshell file.>

Is there any environment variable or wireshark variable that store it, or
any other way I can get it ?

Appreciate any help.
Seyed.
_________________________________________



Seyed M. Mirtaheri
+1 (778) 883 3500
Department of Computer Science
University of British Columbia



___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev@xxxxxxxxxxxxx>
Archives:    http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
             mailto:wireshark-dev-request@xxxxxxxxxxxxx?subject=unsubscribe




--
Wireshark Generic Dissector http://wsgd.free.fr


  • Prev by Date: [Wireshark-dev] buildbot failure in Wireshark (development) on Ubuntu-7.10-x86-64
  • Next by Date: [Wireshark-dev] buildbot failure in Wireshark (development) on OSX-10.5-ppc
  • Previous by thread: [Wireshark-dev] buildbot failure in Wireshark (development) on Ubuntu-7.10-x86-64
  • Next by thread: [Wireshark-dev] buildbot failure in Wireshark (development) on OSX-10.5-ppc
  • Index(es):
    • Date
    • Thread

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