]> The Tcpdump Group git mirrors - libpcap/commit
OK, try this - hopefully it'll make pcap headers work with DLL or non-DLL.
authorGuy Harris <[email protected]>
Tue, 28 Nov 2017 00:24:52 +0000 (16:24 -0800)
committerGuy Harris <[email protected]>
Tue, 28 Nov 2017 00:24:52 +0000 (16:24 -0800)
commit61fac56e5e652007cec18dff70fe77cc69d81e11
treeca1e7dcbbc4f5f9edc3544b0905d6cf29a9bbeb7
parent90924a7c672244bcfaf1b4d5c88471bb548705ee
OK, try this - hopefully it'll make pcap headers work with DLL or non-DLL.

(This is inspired by what zlib does.  Note that WinPcap didn't decorate
anything with __declspec(dllimport) in its header files.)

There's still the issue of what we'd call a non-DLL version of libpcap
to avoid colliding with the import library we'd need to ship to support
linking with the DLL.
pcap/funcattrs.h