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] plugin

Date: Mon, 29 Sep 2008 11:46:05 +0200
Hi,

FYI
Filed a bug report to have the missing functions added to libwireshark.def file:

https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=2911

David


-----Message d'origine-----
De : wireshark-dev-bounces@xxxxxxxxxxxxx [mailto:wireshark-dev-bounces@xxxxxxxxxxxxx] De la part de Jeff Morriss
Envoyé : vendredi 26 septembre 2008 15:41
À : Developer support list for Wireshark
Objet : Re: [Wireshark-dev] plugin



david.castleford@xxxxxxxxxxxxxxxxxx wrote:
> Hi Martin,
> 
> I've been working on several plugins (proprietary for now) and have used functions not declared in the standard trunk-1.0\epan\libwireshark.def file.
> 
> If I declare those functions in libwireshark.def and recompile to get libwireshark.lib and then compile my plugin, everything works. But of course when I "export" my plugin.dll (drop it in as you say) to a release version of wireshark in plugin\1.0.3 folder for example, I get the error in your image as the functions I've used are not declared / available to plugins as not defined in the release libwireshark.def file and hence compiled / executable release version.

Another option: just open a bug asking to have the official Wireshark releases export the functions/symbols you need.  I don't think I've seen a case where the Wireshark developers said no to such a request.
_______________________________________________
Wireshark-dev mailing list
Wireshark-dev@xxxxxxxxxxxxx
https://wireshark.org/mailman/listinfo/wireshark-dev