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.