[IPHLPAPI] Simplify spec file

Also move the exports where they are on Windows. This was already handled correctly by MSVC and still doesn't fix the order on GCC builds, but that is a different story and shall be addressed at a different time.
This commit is contained in:
Timo Kreuzer 2019-08-25 11:44:43 +02:00
parent 76eed61813
commit 175abab7ad

View file

@ -116,6 +116,22 @@
@ stdcall NotifyRouteChange( ptr ptr )
@ stub NotifyRouteChangeEx
@ stub NotifySecurityHealthChange
@ stdcall _PfAddFiltersToInterface@24()
@ stdcall _PfAddGlobalFilterToInterface@8()
@ stdcall _PfBindInterfaceToIPAddress@12()
@ stdcall _PfBindInterfaceToIndex@16()
@ stdcall _PfCreateInterface@24()
@ stdcall _PfDeleteInterface@4()
@ stdcall _PfDeleteLog@0()
@ stdcall _PfGetInterfaceStatistics@16()
@ stdcall _PfMakeLog@4()
@ stdcall _PfRebindFilters@8()
@ stdcall _PfRemoveFilterHandles@12()
@ stdcall _PfRemoveFiltersFromInterface@20()
@ stdcall _PfRemoveGlobalFilterFromInterface@8()
@ stdcall _PfSetLogBuffer@28()
@ stdcall _PfTestPacket@20()
@ stdcall _PfUnBindInterface@4()
@ stdcall RestoreMediaSense(ptr ptr)
@ stdcall SendARP(long long ptr ptr)
@ stub SetAdapterIpAddress
@ -136,43 +152,6 @@
@ stdcall SetTcpEntry( ptr )
@ stub SetTcpEntryToStack
@ stdcall UnenableRouter( ptr ptr )
# These are actually stubs, but we need to forward them to preserve the decoration.
@ stdcall -arch=i386 _PfAddFiltersToInterface@24() _PfAddFiltersToInterface@24
@ stdcall -arch=i386 _PfAddGlobalFilterToInterface@8() _PfAddGlobalFilterToInterface@8
@ stdcall -arch=i386 _PfBindInterfaceToIPAddress@12() _PfBindInterfaceToIPAddress@12
@ stdcall -arch=i386 _PfBindInterfaceToIndex@16() _PfBindInterfaceToIndex@16
@ stdcall -arch=i386 _PfCreateInterface@24() _PfCreateInterface@24
@ stdcall -arch=i386 _PfDeleteInterface@4() _PfDeleteInterface@4
@ stdcall -arch=i386 _PfDeleteLog@0() _PfDeleteLog@0
@ stdcall -arch=i386 _PfGetInterfaceStatistics@16() _PfGetInterfaceStatistics@16
@ stdcall -arch=i386 _PfMakeLog@4() _PfMakeLog@4
@ stdcall -arch=i386 _PfRebindFilters@8() _PfRebindFilters@8
@ stdcall -arch=i386 _PfRemoveFilterHandles@12() _PfRemoveFilterHandles@12
@ stdcall -arch=i386 _PfRemoveFiltersFromInterface@20() _PfRemoveFiltersFromInterface@20
@ stdcall -arch=i386 _PfRemoveGlobalFilterFromInterface@8() _PfRemoveGlobalFilterFromInterface@8
@ stdcall -arch=i386 _PfSetLogBuffer@28() _PfSetLogBuffer@28
@ stdcall -arch=i386 _PfTestPacket@20() _PfTestPacket@20
@ stdcall -arch=i386 _PfUnBindInterface@4() _PfUnBindInterface@4
# x64 does not use decoration in these names
@ stdcall -arch=x86_64 _PfAddFiltersToInterface@24()
@ stdcall -arch=x86_64 _PfAddGlobalFilterToInterface@8()
@ stdcall -arch=x86_64 _PfBindInterfaceToIPAddress@12()
@ stdcall -arch=x86_64 _PfBindInterfaceToIndex@16()
@ stdcall -arch=x86_64 _PfCreateInterface@24()
@ stdcall -arch=x86_64 _PfDeleteInterface@4()
@ stdcall -arch=x86_64 _PfDeleteLog@0()
@ stdcall -arch=x86_64 _PfGetInterfaceStatistics@16()
@ stdcall -arch=x86_64 _PfMakeLog@4()
@ stdcall -arch=x86_64 _PfRebindFilters@8()
@ stdcall -arch=x86_64 _PfRemoveFilterHandles@12()
@ stdcall -arch=x86_64 _PfRemoveFiltersFromInterface@20()
@ stdcall -arch=x86_64 _PfRemoveGlobalFilterFromInterface@8()
@ stdcall -arch=x86_64 _PfSetLogBuffer@28()
@ stdcall -arch=x86_64 _PfTestPacket@20()
@ stdcall -arch=x86_64 _PfUnBindInterface@4()
@ stub do_echo_rep
@ stub do_echo_req
@ stub register_icmp