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] Using cf_callback_add from a plugin

From: Guy Harris <guy@xxxxxxxxxxxx>
Date: Mon, 25 Apr 2011 10:53:56 -0700
On Apr 25, 2011, at 10:25 AM, Jeff Morriss wrote:

> libui is a static library (archive).  Building one of those does not require that all the symbols be resolved (which is a good thing: you can't link an archive against another archive or shared libraries anyway).  It just means that when you finally link that library into an executable (wireshark), you'll need to satisfy all the undefined symbols.
> 
> This also means, I think, that you can't use this routine in your plugin--at least not in its present location.

And, even if it were moved, it would mean you can't use the plugin in TShark.  Presumably the plugin is not a dissector, as dissectors don't need to be told about cf events; what type of plugin is it?