* autoload.cc: Drop LoadDLLprime for wsock32 since no wsock32 function
is used anymore. Drop all unused ws2_32.dll functions.
This commit is contained in:
parent
acc31d1a90
commit
a947b6879f
|
@ -1,3 +1,8 @@
|
||||||
|
2006-07-31 Corinna Vinschen <corinna@vinschen.de>
|
||||||
|
|
||||||
|
* autoload.cc: Drop LoadDLLprime for wsock32 since no wsock32 function
|
||||||
|
is used anymore. Drop all unused ws2_32.dll functions.
|
||||||
|
|
||||||
2006-07-28 Corinna Vinschen <corinna@vinschen.de>
|
2006-07-28 Corinna Vinschen <corinna@vinschen.de>
|
||||||
|
|
||||||
* fhandler.h (struct wsa_event): Define here.
|
* fhandler.h (struct wsa_event): Define here.
|
||||||
|
|
|
@ -296,7 +296,6 @@ wsock_init ()
|
||||||
return ret.ll;
|
return ret.ll;
|
||||||
}
|
}
|
||||||
|
|
||||||
LoadDLLprime (wsock32, _wsock_init)
|
|
||||||
LoadDLLprime (ws2_32, _wsock_init)
|
LoadDLLprime (ws2_32, _wsock_init)
|
||||||
|
|
||||||
LoadDLLfunc (AccessCheck, 32, advapi32)
|
LoadDLLfunc (AccessCheck, 32, advapi32)
|
||||||
|
@ -475,32 +474,20 @@ LoadDLLfunc (getsockname, 12, ws2_32)
|
||||||
LoadDLLfunc (getsockopt, 20, ws2_32)
|
LoadDLLfunc (getsockopt, 20, ws2_32)
|
||||||
LoadDLLfunc (ioctlsocket, 12, ws2_32)
|
LoadDLLfunc (ioctlsocket, 12, ws2_32)
|
||||||
LoadDLLfunc (listen, 8, ws2_32)
|
LoadDLLfunc (listen, 8, ws2_32)
|
||||||
LoadDLLfunc (recv, 16, ws2_32)
|
|
||||||
LoadDLLfunc (recvfrom, 24, ws2_32)
|
|
||||||
LoadDLLfunc (select, 20, ws2_32)
|
|
||||||
LoadDLLfunc (send, 16, ws2_32)
|
|
||||||
LoadDLLfunc (sendto, 24, ws2_32)
|
|
||||||
LoadDLLfunc (setsockopt, 20, ws2_32)
|
LoadDLLfunc (setsockopt, 20, ws2_32)
|
||||||
LoadDLLfunc (shutdown, 8, ws2_32)
|
LoadDLLfunc (shutdown, 8, ws2_32)
|
||||||
LoadDLLfunc (socket, 12, ws2_32)
|
LoadDLLfunc (socket, 12, ws2_32)
|
||||||
LoadDLLfunc (WSAAsyncSelect, 16, ws2_32)
|
LoadDLLfunc (WSAAsyncSelect, 16, ws2_32)
|
||||||
LoadDLLfunc (WSACloseEvent, 4, ws2_32)
|
LoadDLLfunc (WSACloseEvent, 4, ws2_32)
|
||||||
LoadDLLfunc (WSACreateEvent, 0, ws2_32)
|
LoadDLLfunc (WSACreateEvent, 0, ws2_32)
|
||||||
LoadDLLfunc (WSADuplicateSocketA, 12, ws2_32)
|
LoadDLLfunc (WSAEnumNetworkEvents, 12, ws2_32)
|
||||||
|
LoadDLLfunc (WSAEventSelect, 12, ws2_32)
|
||||||
LoadDLLfunc (WSAGetLastError, 0, ws2_32)
|
LoadDLLfunc (WSAGetLastError, 0, ws2_32)
|
||||||
LoadDLLfunc (WSAGetOverlappedResult, 20, ws2_32)
|
|
||||||
LoadDLLfunc (WSARecv, 28, ws2_32)
|
|
||||||
LoadDLLfunc (WSARecvFrom, 36, ws2_32)
|
LoadDLLfunc (WSARecvFrom, 36, ws2_32)
|
||||||
LoadDLLfunc (WSASend, 28, ws2_32)
|
|
||||||
LoadDLLfunc (WSASendTo, 36, ws2_32)
|
LoadDLLfunc (WSASendTo, 36, ws2_32)
|
||||||
LoadDLLfunc (WSASetEvent, 4, ws2_32)
|
|
||||||
LoadDLLfunc (WSASetLastError, 4, ws2_32)
|
LoadDLLfunc (WSASetLastError, 4, ws2_32)
|
||||||
LoadDLLfunc (WSASocketA, 24, ws2_32)
|
|
||||||
// LoadDLLfunc (WSAStartup, 8, ws2_32)
|
// LoadDLLfunc (WSAStartup, 8, ws2_32)
|
||||||
LoadDLLfunc (WSAWaitForMultipleEvents, 20, ws2_32)
|
LoadDLLfunc (WSAWaitForMultipleEvents, 20, ws2_32)
|
||||||
LoadDLLfunc (WSAEventSelect, 12, ws2_32)
|
|
||||||
LoadDLLfunc (WSAEnumNetworkEvents, 12, ws2_32)
|
|
||||||
LoadDLLfunc (__WSAFDIsSet, 8, ws2_32)
|
|
||||||
|
|
||||||
LoadDLLfuncEx (GetIfTable, 12, iphlpapi, 1)
|
LoadDLLfuncEx (GetIfTable, 12, iphlpapi, 1)
|
||||||
LoadDLLfuncEx (GetIfEntry, 4, iphlpapi, 1)
|
LoadDLLfuncEx (GetIfEntry, 4, iphlpapi, 1)
|
||||||
|
|
Loading…
Reference in New Issue