ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
April 17th, 2024 | 14:30-16:00 SGT (UTC+8) | Online

Wireshark-dev: Re: [Wireshark-dev] How do I know the wireshark version FROM a plugin dissector

From: wsgd <wsgd@xxxxxxx>
Date: Mon, 01 Jun 2009 23:44:04 +0200
Guy Harris a �crit :
On Jun 1, 2009, at 2:07 PM, wsgd wrote:

Mail subject is now more clear.

The answer is "by adding an API to libwireshark to get it". The version number should come from VERSION as defined in config.h; if you want to include an SVN version, that's a bit more complicated.

What do you plan to do with the version string?
Manage a difference between 1.0.z and 1.1.z.

There is an additional field into pinfo (1.1.z).
And so, the following fields are not at the same place.

Perhaps there is accessor functions for (some) pinfo fields ?

At this time, I only display pinfo fields and do not use it.
So it is not important for now.


___________________________________________________________________________
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