Commit 0d7bdc7a authored by Alexandre Julliard's avatar Alexandre Julliard

Moved the 16-bit code out of socket.c and into a separate file.

parent 94670d40
...@@ -13,6 +13,8 @@ C_SRCS = \ ...@@ -13,6 +13,8 @@ C_SRCS = \
async.c \ async.c \
socket.c socket.c
C_SRCS16 = socket16.c
RC_SRCS = version.rc RC_SRCS = version.rc
SUBDIRS = tests SUBDIRS = tests
......
1 pascal -ret16 accept(word ptr ptr) WINSOCK_accept16 1 pascal -ret16 accept(word ptr ptr) accept16
2 pascal -ret16 bind(word ptr word) WINSOCK_bind16 2 pascal -ret16 bind(word ptr word) bind16
3 pascal -ret16 closesocket(word) WINSOCK_closesocket16 3 pascal -ret16 closesocket(word) closesocket16
4 pascal -ret16 connect(word ptr word) WINSOCK_connect16 4 pascal -ret16 connect(word ptr word) connect16
5 pascal -ret16 getpeername(word ptr ptr) WINSOCK_getpeername16 5 pascal -ret16 getpeername(word ptr ptr) getpeername16
6 pascal -ret16 getsockname(word ptr ptr) WINSOCK_getsockname16 6 pascal -ret16 getsockname(word ptr ptr) getsockname16
7 pascal -ret16 getsockopt(word word word ptr ptr) WINSOCK_getsockopt16 7 pascal -ret16 getsockopt(word word word ptr ptr) getsockopt16
8 pascal htonl(long) WS_htonl 8 pascal htonl(long) WS_htonl
9 pascal -ret16 htons(word) WS_htons 9 pascal -ret16 htons(word) WS_htons
10 pascal inet_addr(ptr) WS_inet_addr 10 pascal inet_addr(ptr) WS_inet_addr
11 pascal inet_ntoa(long) WINSOCK_inet_ntoa16 11 pascal inet_ntoa(long) inet_ntoa16
12 pascal -ret16 ioctlsocket(word long ptr) WINSOCK_ioctlsocket16 12 pascal -ret16 ioctlsocket(word long ptr) ioctlsocket16
13 pascal -ret16 listen(word word) WINSOCK_listen16 13 pascal -ret16 listen(word word) listen16
14 pascal ntohl(long) WS_ntohl 14 pascal ntohl(long) WS_ntohl
15 pascal -ret16 ntohs(word) WS_ntohs 15 pascal -ret16 ntohs(word) WS_ntohs
16 pascal -ret16 recv(word ptr word word) WINSOCK_recv16 16 pascal -ret16 recv(word ptr word word) recv16
17 pascal -ret16 recvfrom(word ptr word word ptr ptr) WINSOCK_recvfrom16 17 pascal -ret16 recvfrom(word ptr word word ptr ptr) recvfrom16
18 pascal -ret16 select(word ptr ptr ptr ptr) WINSOCK_select16 18 pascal -ret16 select(word ptr ptr ptr ptr) select16
19 pascal -ret16 send(word ptr word word) WINSOCK_send16 19 pascal -ret16 send(word ptr word word) send16
20 pascal -ret16 sendto(word ptr word word ptr word) WINSOCK_sendto16 20 pascal -ret16 sendto(word ptr word word ptr word) sendto16
21 pascal -ret16 setsockopt(word word word ptr word) WINSOCK_setsockopt16 21 pascal -ret16 setsockopt(word word word ptr word) setsockopt16
22 pascal -ret16 shutdown(word word) WINSOCK_shutdown16 22 pascal -ret16 shutdown(word word) shutdown16
23 pascal -ret16 socket(word word word) WINSOCK_socket16 23 pascal -ret16 socket(word word word) socket16
51 pascal gethostbyaddr(ptr word word) WINSOCK_gethostbyaddr16 51 pascal gethostbyaddr(ptr word word) gethostbyaddr16
52 pascal gethostbyname(ptr) WINSOCK_gethostbyname16 52 pascal gethostbyname(ptr) gethostbyname16
53 pascal getprotobyname(ptr) WINSOCK_getprotobyname16 53 pascal getprotobyname(ptr) getprotobyname16
54 pascal getprotobynumber(word) WINSOCK_getprotobynumber16 54 pascal getprotobynumber(word) getprotobynumber16
55 pascal getservbyname(ptr ptr) WINSOCK_getservbyname16 55 pascal getservbyname(ptr ptr) getservbyname16
56 pascal getservbyport(word ptr) WINSOCK_getservbyport16 56 pascal getservbyport(word ptr) getservbyport16
57 pascal gethostname(ptr word) WINSOCK_gethostname16 57 pascal gethostname(ptr word) gethostname16
101 pascal -ret16 WSAAsyncSelect(word word word long) WSAAsyncSelect16 101 pascal -ret16 WSAAsyncSelect(word word word long) WSAAsyncSelect16
102 pascal -ret16 WSAAsyncGetHostByAddr(word word ptr word word segptr word) WSAAsyncGetHostByAddr16 102 pascal -ret16 WSAAsyncGetHostByAddr(word word ptr word word segptr word) WSAAsyncGetHostByAddr16
103 pascal -ret16 WSAAsyncGetHostByName(word word str segptr word) WSAAsyncGetHostByName16 103 pascal -ret16 WSAAsyncGetHostByName(word word str segptr word) WSAAsyncGetHostByName16
...@@ -43,6 +43,6 @@ ...@@ -43,6 +43,6 @@
113 pascal -ret16 WSACancelBlockingCall() WSACancelBlockingCall 113 pascal -ret16 WSACancelBlockingCall() WSACancelBlockingCall
114 pascal -ret16 WSAIsBlocking() WSAIsBlocking 114 pascal -ret16 WSAIsBlocking() WSAIsBlocking
115 pascal WSAStartup(word ptr) WSAStartup16 115 pascal WSAStartup(word ptr) WSAStartup16
116 pascal WSACleanup() WSACleanup 116 pascal WSACleanup() WSACleanup16
151 pascal -ret16 __WSAFDIsSet(word ptr) __WSAFDIsSet16 151 pascal -ret16 __WSAFDIsSet(word ptr) __WSAFDIsSet16
1107 pascal -ret16 WSARecvEx(word ptr word ptr) WSARecvEx16 1107 pascal -ret16 WSARecvEx(word ptr word ptr) WSARecvEx16
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment