Wireshark mailing list archives

Re: [Wireshark-dev] Using cf_callback_add from a plugin


From: Chris Maynard <chris.maynard () gtech com>
Date: Mon, 25 Apr 2011 15:25:20 +0000 (UTC)

Bruce, Joseph R (Joe <joseph.bruce@...> writes:

I'm writing a plugin that registers a capture file callback via
cf_callback_add (./file.c:173, ./file.h:83).  The callback is invoked on
read and other interesting cf events.  This works fine on my *nix build,
but Windows is unhappy.  The only other code that registers a cf callback
is ./gtk/main.c, which Windows has no problem with.  My plugin fails to
link with unresolved symbol errors:

Try adding cf_callback_add to epan/libwireshark.def.  If that works for you, I
can check in a change to that file so cf_callback_[add|remove] will be available
in the future.


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


Current thread: