Wireshark mailing list archives

Re: libwireshark.lib is missing some proto_registrar_* methods


From: Ed Beroset <beroset () mindspring com>
Date: Fri, 11 Feb 2011 06:36:19 -0500

Andreas wrote:
Am 11.02.2011 00:06, schrieb Guy Harris:
 > They weren't omitted on purpose. They were probably omitted because
 > they were added by a UN*X user; by default, UN*X dynamic shared
 > libraries export every non-static symbol, unlike Windows DLLs.

I think this is a strong argument to move away from the export
definition in DEF file to a decoration in the header file. With the
prefix like i.e. WIRESHARK_API(1) you can decorate any function that is
intended to be public available.

I wonder if there's a way to do this by looking at whether the function is declared static or not.

Ed
___________________________________________________________________________
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: