Wireshark-dev: [Wireshark-dev] export_pdu
From: Dario Lombardo <dario.lombardo.ml@xxxxxxxxx>
Date: Sat, 17 Mar 2018 17:42:20 +0100
To reduce the duplicated code between libwireshark and udpdump I tried to move the export_pdu code from epan to a shared library (as done for writecap and randpkt_core) in this change:


Some issues on windows arose a problem about symbols exported. The discussion with Pascal showed apparently just one solution: the library has to be a dynamic library and not a static one. Before pushing a new changeset I would like to get some other opinion, because this move could not be worth, and keeping the code as is could be more desirable. For instance the plugins that use export_pdu and link libwireshark would be required to link this new library or they would stop working.
Thanks for your help.
Dario.