2003-07-10 Casper S. Hornstrup <chorns@users.sourceforge.net>

* lib/ws2_32/misc/bsd.c: Add @implemented and @unimplemented
	to APIs.
	* lib/ws2_32/misc/dllmain.c: Ditto.
	* lib/ws2_32/misc/event.c: Ditto.
	* lib/ws2_32/misc/ns.c: Ditto.
	* lib/ws2_32/misc/sndrcv.c: Ditto.
	* lib/ws2_32/misc/stubs.c: Ditto.
	* lib/ws2_32/misc/upcall.c: Ditto.

svn path=/trunk/; revision=5058
This commit is contained in:
Casper Hornstrup 2003-07-10 21:28:17 +00:00
parent 229baeb7ed
commit 3119d09f0c
8 changed files with 415 additions and 0 deletions

View file

@ -1,3 +1,14 @@
2003-07-10 Casper S. Hornstrup <chorns@users.sourceforge.net>
* lib/ws2_32/misc/bsd.c: Add @implemented and @unimplemented
to APIs.
* lib/ws2_32/misc/dllmain.c: Ditto.
* lib/ws2_32/misc/event.c: Ditto.
* lib/ws2_32/misc/ns.c: Ditto.
* lib/ws2_32/misc/sndrcv.c: Ditto.
* lib/ws2_32/misc/stubs.c: Ditto.
* lib/ws2_32/misc/upcall.c: Ditto.
2003-07-10 Casper S. Hornstrup <chorns@users.sourceforge.net>
* drivers/dd/videoprt/videoprt.c: Add @implemented and @unimplemented

View file

@ -9,6 +9,9 @@
*/
#include <ws2_32.h>
/*
* @implemented
*/
ULONG
EXPORT
htonl(
@ -17,6 +20,10 @@ htonl(
return DH2N(hostlong);
}
/*
* @implemented
*/
USHORT
EXPORT
htons(
@ -25,6 +32,10 @@ htons(
return WH2N(hostshort);
}
/*
* @implemented
*/
ULONG
EXPORT
ntohl(
@ -33,6 +44,10 @@ ntohl(
return DN2H(netlong);
}
/*
* @implemented
*/
USHORT
EXPORT
ntohs(

View file

@ -28,6 +28,9 @@ HANDLE GlobalHeap;
WSPUPCALLTABLE UpcallTable;
/*
* @implemented
*/
INT
EXPORT
WSAGetLastError(VOID)
@ -43,6 +46,9 @@ WSAGetLastError(VOID)
}
/*
* @implemented
*/
VOID
EXPORT
WSASetLastError(
@ -55,6 +61,9 @@ WSASetLastError(
}
/*
* @implemented
*/
INT
EXPORT
WSAStartup(
@ -77,6 +86,9 @@ WSAStartup(
}
/*
* @implemented
*/
INT
EXPORT
WSACleanup(VOID)
@ -92,6 +104,9 @@ WSACleanup(VOID)
}
/*
* @implemented
*/
SOCKET
EXPORT
socket(
@ -103,6 +118,9 @@ socket(
}
/*
* @implemented
*/
SOCKET
EXPORT
WSASocketA(
@ -146,6 +164,9 @@ WSASocketA(
}
/*
* @implemented
*/
SOCKET
EXPORT
WSASocketW(
@ -224,6 +245,9 @@ WSASocketW(
}
/*
* @implemented
*/
INT
EXPORT
closesocket(
@ -264,6 +288,9 @@ closesocket(
}
/*
* @implemented
*/
INT
EXPORT
select(
@ -336,6 +363,9 @@ select(
}
/*
* @implemented
*/
INT
EXPORT
bind(
@ -370,6 +400,9 @@ bind(
}
/*
* @implemented
*/
INT
EXPORT
listen(
@ -403,6 +436,9 @@ listen(
}
/*
* @implemented
*/
SOCKET
EXPORT
accept(
@ -414,6 +450,9 @@ accept(
}
/*
* @implemented
*/
SOCKET
EXPORT
WSAAccept(
@ -450,6 +489,9 @@ WSAAccept(
}
/*
* @implemented
*/
INT
EXPORT
connect(
@ -461,6 +503,9 @@ connect(
}
/*
* @implemented
*/
INT
EXPORT
WSAConnect(

View file

@ -11,6 +11,9 @@
#include <handle.h>
/*
* @implemented
*/
BOOL
EXPORT
WSACloseEvent(
@ -32,6 +35,9 @@ WSACloseEvent(
}
/*
* @implemented
*/
WSAEVENT
EXPORT
WSACreateEvent(VOID)
@ -52,6 +58,9 @@ WSACreateEvent(VOID)
}
/*
* @implemented
*/
BOOL
EXPORT
WSAResetEvent(
@ -73,6 +82,9 @@ WSAResetEvent(
}
/*
* @implemented
*/
BOOL
EXPORT
WSASetEvent(
@ -94,6 +106,9 @@ WSASetEvent(
}
/*
* @implemented
*/
DWORD
EXPORT
WSAWaitForMultipleEvents(
@ -128,6 +143,9 @@ WSAWaitForMultipleEvents(
}
/*
* @implemented
*/
INT
EXPORT
WSAEnumNetworkEvents(
@ -166,6 +184,9 @@ WSAEnumNetworkEvents(
}
/*
* @implemented
*/
INT
EXPORT
WSAEventSelect(

View file

@ -11,6 +11,9 @@
/* Name resolution APIs */
/*
* @unimplemented
*/
INT
EXPORT
WSAAddressToStringA(
@ -26,6 +29,9 @@ WSAAddressToStringA(
}
/*
* @unimplemented
*/
INT
EXPORT
WSAAddressToStringW(
@ -41,6 +47,9 @@ WSAAddressToStringW(
}
/*
* @unimplemented
*/
INT
EXPORT
WSAEnumNameSpaceProvidersA(
@ -53,6 +62,9 @@ WSAEnumNameSpaceProvidersA(
}
/*
* @unimplemented
*/
INT
EXPORT
WSAEnumNameSpaceProvidersW(
@ -65,6 +77,9 @@ WSAEnumNameSpaceProvidersW(
}
/*
* @unimplemented
*/
INT
EXPORT
WSAGetServiceClassInfoA(
@ -79,6 +94,9 @@ WSAGetServiceClassInfoA(
}
/*
* @unimplemented
*/
INT
EXPORT
WSAGetServiceClassInfoW(
@ -93,6 +111,9 @@ WSAGetServiceClassInfoW(
}
/*
* @unimplemented
*/
INT
EXPORT
WSAGetServiceClassNameByClassIdA(
@ -106,6 +127,9 @@ WSAGetServiceClassNameByClassIdA(
}
/*
* @unimplemented
*/
INT
EXPORT
WSAGetServiceClassNameByClassIdW(
@ -119,6 +143,9 @@ WSAGetServiceClassNameByClassIdW(
}
/*
* @unimplemented
*/
INT
EXPORT
WSAInstallServiceClassA(
@ -130,6 +157,9 @@ WSAInstallServiceClassA(
}
/*
* @unimplemented
*/
INT
EXPORT
WSAInstallServiceClassW(
@ -141,6 +171,9 @@ WSAInstallServiceClassW(
}
/*
* @unimplemented
*/
INT
EXPORT
WSALookupServiceBeginA(
@ -154,6 +187,9 @@ WSALookupServiceBeginA(
}
/*
* @unimplemented
*/
INT
EXPORT
WSALookupServiceBeginW(
@ -167,6 +203,9 @@ WSALookupServiceBeginW(
}
/*
* @unimplemented
*/
INT
EXPORT
WSALookupServiceEnd(
@ -178,6 +217,9 @@ WSALookupServiceEnd(
}
/*
* @unimplemented
*/
INT
EXPORT
WSALookupServiceNextA(
@ -192,6 +234,9 @@ WSALookupServiceNextA(
}
/*
* @unimplemented
*/
INT
EXPORT
WSALookupServiceNextW(
@ -206,6 +251,9 @@ WSALookupServiceNextW(
}
/*
* @unimplemented
*/
INT
EXPORT
WSARemoveServiceClass(
@ -217,6 +265,9 @@ WSARemoveServiceClass(
}
/*
* @unimplemented
*/
INT
EXPORT
WSASetServiceA(
@ -230,6 +281,9 @@ WSASetServiceA(
}
/*
* @unimplemented
*/
INT
EXPORT
WSASetServiceW(
@ -243,6 +297,9 @@ WSASetServiceW(
}
/*
* @unimplemented
*/
INT
EXPORT
WSAStringToAddressA(
@ -258,6 +315,9 @@ WSAStringToAddressA(
}
/*
* @unimplemented
*/
INT
EXPORT
WSAStringToAddressW(
@ -275,6 +335,9 @@ WSAStringToAddressW(
/* WinSock 1.1 compatible name resolution APIs */
/*
* @unimplemented
*/
LPHOSTENT
EXPORT
gethostbyaddr(
@ -287,6 +350,9 @@ gethostbyaddr(
return (LPHOSTENT)NULL;
}
/*
* @unimplemented
*/
LPHOSTENT
EXPORT
gethostbyname(
@ -298,6 +364,9 @@ gethostbyname(
}
/*
* @unimplemented
*/
INT
EXPORT
gethostname(
@ -310,6 +379,9 @@ gethostname(
}
/*
* @unimplemented
*/
LPPROTOENT
EXPORT
getprotobyname(
@ -321,6 +393,9 @@ getprotobyname(
}
/*
* @unimplemented
*/
LPPROTOENT
EXPORT
getprotobynumber(
@ -331,6 +406,10 @@ getprotobynumber(
return (LPPROTOENT)NULL;
}
/*
* @unimplemented
*/
LPSERVENT
EXPORT
getservbyname(
@ -343,6 +422,9 @@ getservbyname(
}
/*
* @unimplemented
*/
LPSERVENT
EXPORT
getservbyport(
@ -355,6 +437,9 @@ getservbyport(
}
/*
* @implemented
*/
ULONG
EXPORT
inet_addr(
@ -395,6 +480,9 @@ inet_addr(
}
/*
* @implemented
*/
CHAR FAR*
EXPORT
inet_ntoa(
@ -419,6 +507,9 @@ inet_ntoa(
}
/*
* @unimplemented
*/
HANDLE
EXPORT
WSAAsyncGetHostByAddr(
@ -436,6 +527,9 @@ WSAAsyncGetHostByAddr(
}
/*
* @unimplemented
*/
HANDLE
EXPORT
WSAAsyncGetHostByName(
@ -451,6 +545,9 @@ WSAAsyncGetHostByName(
}
/*
* @unimplemented
*/
HANDLE
EXPORT
WSAAsyncGetProtoByName(
@ -466,6 +563,9 @@ WSAAsyncGetProtoByName(
}
/*
* @unimplemented
*/
HANDLE
EXPORT
WSAAsyncGetProtoByNumber(
@ -481,6 +581,9 @@ WSAAsyncGetProtoByNumber(
}
/*
* @unimplemented
*/
HANDLE
EXPORT
WSAAsyncGetServByName(
@ -497,6 +600,9 @@ WSAAsyncGetServByName(
}
/*
* @unimplemented
*/
HANDLE
EXPORT
WSAAsyncGetServByPort(

View file

@ -11,6 +11,10 @@
#include <catalog.h>
#include <handle.h>
/*
* @implemented
*/
INT
EXPORT
recv(
@ -34,6 +38,9 @@ recv(
}
/*
* @implemented
*/
INT
EXPORT
recvfrom(
@ -59,6 +66,9 @@ recvfrom(
}
/*
* @implemented
*/
INT
EXPORT
send(
@ -80,6 +90,9 @@ send(
}
/*
* @implemented
*/
INT
EXPORT
sendto(
@ -103,6 +116,9 @@ sendto(
}
/*
* @implemented
*/
INT
EXPORT
WSARecv(
@ -140,6 +156,9 @@ WSARecv(
}
/*
* @unimplemented
*/
INT
EXPORT
WSARecvDisconnect(
@ -152,6 +171,9 @@ WSARecvDisconnect(
}
/*
* @implemented
*/
INT
EXPORT
WSARecvFrom(
@ -191,6 +213,9 @@ WSARecvFrom(
}
/*
* @implemented
*/
INT
EXPORT
WSASend(
@ -228,6 +253,9 @@ WSASend(
}
/*
* @unimplemented
*/
INT
EXPORT
WSASendDisconnect(
@ -240,6 +268,9 @@ WSASendDisconnect(
}
/*
* @implemented
*/
INT
EXPORT
WSASendTo(

View file

@ -9,6 +9,9 @@
*/
#include <ws2_32.h>
/*
* @unimplemented
*/
INT
EXPORT
getpeername(
@ -21,6 +24,10 @@ getpeername(
return 0;
}
/*
* @unimplemented
*/
INT
EXPORT
getsockname(
@ -33,6 +40,10 @@ getsockname(
return 0;
}
/*
* @unimplemented
*/
INT
EXPORT
getsockopt(
@ -47,6 +58,10 @@ getsockopt(
return 0;
}
/*
* @unimplemented
*/
INT
EXPORT
ioctlsocket(
@ -59,6 +74,10 @@ ioctlsocket(
return 0;
}
/*
* @unimplemented
*/
INT
EXPORT
setsockopt(
@ -73,6 +92,10 @@ setsockopt(
return 0;
}
/*
* @unimplemented
*/
INT
EXPORT
shutdown(
@ -84,6 +107,10 @@ shutdown(
return 0;
}
/*
* @unimplemented
*/
INT
EXPORT
WSAAsyncSelect(
@ -97,6 +124,10 @@ WSAAsyncSelect(
return 0;
}
/*
* @unimplemented
*/
INT
EXPORT
WSACancelBlockingCall(VOID)
@ -106,6 +137,10 @@ WSACancelBlockingCall(VOID)
return 0;
}
/*
* @unimplemented
*/
INT
EXPORT
WSADuplicateSocketA(
@ -118,6 +153,10 @@ WSADuplicateSocketA(
return 0;
}
/*
* @unimplemented
*/
INT
EXPORT
WSADuplicateSocketW(
@ -130,6 +169,10 @@ WSADuplicateSocketW(
return 0;
}
/*
* @unimplemented
*/
INT
EXPORT
WSAEnumProtocolsA(
@ -142,6 +185,10 @@ WSAEnumProtocolsA(
return 0;
}
/*
* @unimplemented
*/
INT
EXPORT
WSAEnumProtocolsW(
@ -154,6 +201,10 @@ WSAEnumProtocolsW(
return 0;
}
/*
* @unimplemented
*/
BOOL
EXPORT
WSAGetOverlappedResult(
@ -168,6 +219,10 @@ WSAGetOverlappedResult(
return 0;
}
/*
* @unimplemented
*/
BOOL
EXPORT
WSAGetQOSByName(
@ -180,6 +235,10 @@ WSAGetQOSByName(
return FALSE;
}
/*
* @unimplemented
*/
INT
EXPORT
WSAHtonl(
@ -192,6 +251,10 @@ WSAHtonl(
return 0;
}
/*
* @unimplemented
*/
INT
EXPORT
WSAHtons(
@ -204,6 +267,10 @@ WSAHtons(
return 0;
}
/*
* @unimplemented
*/
INT
EXPORT
WSAIoctl(
@ -222,6 +289,10 @@ WSAIoctl(
return 0;
}
/*
* @unimplemented
*/
BOOL
EXPORT
WSAIsBlocking(VOID)
@ -231,6 +302,10 @@ WSAIsBlocking(VOID)
return FALSE;
}
/*
* @unimplemented
*/
SOCKET
EXPORT
WSAJoinLeaf(
@ -248,6 +323,10 @@ WSAJoinLeaf(
return INVALID_SOCKET;
}
/*
* @unimplemented
*/
INT
EXPORT
WSANtohl(
@ -260,6 +339,10 @@ WSANtohl(
return 0;
}
/*
* @unimplemented
*/
INT
EXPORT
WSANtohs(
@ -272,6 +355,10 @@ WSANtohs(
return 0;
}
/*
* @unimplemented
*/
FARPROC
EXPORT
WSASetBlockingHook(
@ -282,6 +369,10 @@ WSASetBlockingHook(
return (FARPROC)0;
}
/*
* @unimplemented
*/
INT
EXPORT
WSAUnhookBlockingHook(VOID)
@ -291,6 +382,10 @@ WSAUnhookBlockingHook(VOID)
return 0;
}
/*
* @unimplemented
*/
INT
EXPORT
WSAProviderConfigChange(
@ -303,6 +398,10 @@ WSAProviderConfigChange(
return 0;
}
/*
* @unimplemented
*/
INT
EXPORT
WSACancelAsyncRequest(
@ -313,6 +412,9 @@ WSACancelAsyncRequest(
return 0;
}
/*
* @unimplemented
*/
INT
#if 0
PASCAL FAR
@ -329,6 +431,9 @@ __WSAFDIsSet(SOCKET s, LPFD_SET set)
/* WinSock Service Provider support functions */
/*
* @unimplemented
*/
INT
EXPORT
WPUCompleteOverlappedRequest(
@ -343,6 +448,10 @@ WPUCompleteOverlappedRequest(
return 0;
}
/*
* @unimplemented
*/
INT
EXPORT
WSPStartup(
@ -357,6 +466,10 @@ WSPStartup(
return 0;
}
/*
* @unimplemented
*/
INT
EXPORT
WSCDeinstallProvider(
@ -368,6 +481,10 @@ WSCDeinstallProvider(
return 0;
}
/*
* @unimplemented
*/
INT
EXPORT
WSCEnumProtocols(
@ -381,6 +498,10 @@ WSCEnumProtocols(
return 0;
}
/*
* @unimplemented
*/
INT
EXPORT
WSCGetProviderPath(
@ -394,6 +515,10 @@ WSCGetProviderPath(
return 0;
}
/*
* @unimplemented
*/
INT
EXPORT
WSCInstallProvider(
@ -408,6 +533,10 @@ WSCInstallProvider(
return 0;
}
/*
* @unimplemented
*/
INT
EXPORT
WSCEnableNSProvider(
@ -419,6 +548,10 @@ WSCEnableNSProvider(
return 0;
}
/*
* @unimplemented
*/
INT
EXPORT
WSCInstallNameSpace(
@ -433,6 +566,10 @@ WSCInstallNameSpace(
return 0;
}
/*
* @unimplemented
*/
INT
EXPORT
WSCUnInstallNameSpace(
@ -443,6 +580,10 @@ WSCUnInstallNameSpace(
return 0;
}
/*
* @unimplemented
*/
INT
EXPORT
WSCWriteProviderOrder(

View file

@ -11,6 +11,9 @@
#include <catalog.h>
#include <handle.h>
/*
* @implemented
*/
BOOL
WSPAPI
WPUCloseEvent(
@ -23,6 +26,9 @@ WPUCloseEvent(
}
/*
* @unimplemented
*/
INT
WSPAPI
WPUCloseSocketHandle(
@ -35,6 +41,9 @@ WPUCloseSocketHandle(
}
/*
* @unimplemented
*/
INT
WSPAPI
WPUCloseThread(
@ -47,6 +56,9 @@ WPUCloseThread(
}
/*
* @unimplemented
*/
WSAEVENT
WSPAPI
WPUCreateEvent(
@ -58,6 +70,9 @@ WPUCreateEvent(
}
/*
* @unimplemented
*/
SOCKET
WSPAPI
WPUCreateSocketHandle(
@ -71,6 +86,9 @@ WPUCreateSocketHandle(
}
/*
* @unimplemented
*/
SOCKET
WSPAPI
WPUFDIsSet(
@ -83,6 +101,9 @@ WPUFDIsSet(
}
/*
* @unimplemented
*/
INT
WSPAPI
WPUGetProviderPath(
@ -97,6 +118,9 @@ WPUGetProviderPath(
}
/*
* @implemented
*/
SOCKET
WSPAPI
WPUModifyIFSHandle(
@ -128,6 +152,9 @@ WPUModifyIFSHandle(
}
/*
* @unimplemented
*/
INT
WSPAPI
WPUOpenCurrentThread(
@ -140,6 +167,9 @@ WPUOpenCurrentThread(
}
/*
* @unimplemented
*/
BOOL
WSPAPI
WPUPostMessage(
@ -154,6 +184,9 @@ WPUPostMessage(
}
/*
* @unimplemented
*/
INT
WSPAPI
WPUQueryBlockingCallback(
@ -168,6 +201,9 @@ WPUQueryBlockingCallback(
}
/*
* @unimplemented
*/
INT
WSPAPI
WPUQuerySocketHandleContext(
@ -181,6 +217,9 @@ WPUQuerySocketHandleContext(
}
/*
* @unimplemented
*/
INT
WSPAPI
WPUQueueApc(
@ -195,6 +234,9 @@ WPUQueueApc(
}
/*
* @unimplemented
*/
BOOL
WSPAPI
WPUResetEvent(
@ -207,6 +249,9 @@ WPUResetEvent(
}
/*
* @unimplemented
*/
BOOL
WSPAPI
WPUSetEvent(