| 1 | ; $Id: wsock32.def,v 1.21 2000-12-16 22:53:51 bird Exp $ | 
|---|
| 2 |  | 
|---|
| 3 | ;Created by BLAST for IBM's compiler | 
|---|
| 4 | LIBRARY WSOCK32 INITINSTANCE | 
|---|
| 5 |  | 
|---|
| 6 | DESCRIPTION 'Odin32 System DLL - WSock32' | 
|---|
| 7 |  | 
|---|
| 8 | DATA MULTIPLE NONSHARED | 
|---|
| 9 |  | 
|---|
| 10 | IMPORTS | 
|---|
| 11 | ; this is not in every so32dll.lib | 
|---|
| 12 | winsockcleanupsockets = SO32DLL.WINSOCKCLEANUPSOCKETS | 
|---|
| 13 |  | 
|---|
| 14 |  | 
|---|
| 15 | EXPORTS | 
|---|
| 16 |  | 
|---|
| 17 | ; ---------------------- | 
|---|
| 18 | ; BSD Standard Functions | 
|---|
| 19 | ; ---------------------- | 
|---|
| 20 |  | 
|---|
| 21 | accept                      = _OS2accept@12                            @1 | 
|---|
| 22 | bind                        = _OS2bind@12                              @2 | 
|---|
| 23 | closesocket                 = _OS2closesocket@4                        @3 | 
|---|
| 24 | connect                     = _OS2connect@12                           @4 | 
|---|
| 25 | getpeername                 = _OS2getpeername@12                       @5 | 
|---|
| 26 | getsockname                 = _OS2getsockname@12                       @6 | 
|---|
| 27 | getsockopt                  = _OS2getsockopt@20                        @7 | 
|---|
| 28 | htonl                       = _OS2htonl@4                              @8 | 
|---|
| 29 | htons                       = _OS2htons@4                              @9 | 
|---|
| 30 | inet_addr                   = _OS2inet_addr@4                          @10 | 
|---|
| 31 | inet_ntoa                   = _OS2inet_ntoa@4                          @11 | 
|---|
| 32 | ioctlsocket                 = _OS2ioctlsocket@12                       @12 | 
|---|
| 33 | listen                      = _OS2listen@8                             @13 | 
|---|
| 34 | ntohl                       = _OS2ntohl@4                              @14 | 
|---|
| 35 | ntohs                       = _OS2ntohs@4                              @15 | 
|---|
| 36 | recv                        = _OS2recv@16                              @16 | 
|---|
| 37 | recvfrom                    = _OS2recvfrom@24                          @17 | 
|---|
| 38 | select                      = _OS2select@20                            @18 | 
|---|
| 39 | send                        = _OS2send@16                              @19 | 
|---|
| 40 | sendto                      = _OS2sendto@24                            @20 | 
|---|
| 41 | setsockopt                  = _OS2setsockopt@20                        @21 | 
|---|
| 42 | shutdown                    = _OS2shutdown@8                           @22 | 
|---|
| 43 | socket                      = _OS2socket@12                            @23 | 
|---|
| 44 |  | 
|---|
| 45 | gethostbyaddr               = _OS2gethostbyaddr@12                     @51 | 
|---|
| 46 | gethostbyname               = _OS2gethostbyname@4                      @52 | 
|---|
| 47 | getprotobyname              = _OS2getprotobyname@4                     @53 | 
|---|
| 48 | getprotobynumber            = _OS2getprotobynumber@4                   @54 | 
|---|
| 49 | getservbyname               = _OS2getservbyname@8                      @55 | 
|---|
| 50 | getservbyport               = _OS2getservbyport@8                      @56 | 
|---|
| 51 | gethostname                 = _OS2gethostname@8                        @57 | 
|---|
| 52 |  | 
|---|
| 53 | ; ---------------------------- | 
|---|
| 54 | ; Microsoft WinSock Extensions | 
|---|
| 55 | ; ---------------------------- | 
|---|
| 56 |  | 
|---|
| 57 | WSAAsyncSelect              = _WSAAsyncSelect@16                    @101 | 
|---|
| 58 | WSAAsyncGetHostByAddr       = _WSAAsyncGetHostByAddr@28             @102 | 
|---|
| 59 | WSAAsyncGetHostByName       = _WSAAsyncGetHostByName@20             @103 | 
|---|
| 60 | WSAAsyncGetProtoByNumber    = _WSAAsyncGetProtoByNumber@20          @104 | 
|---|
| 61 | WSAAsyncGetProtoByName      = _WSAAsyncGetProtoByName@20            @105 | 
|---|
| 62 | WSAAsyncGetServByPort       = _WSAAsyncGetServByPort@24             @106 | 
|---|
| 63 | WSAAsyncGetServByName       = _WSAAsyncGetServByName@24             @107 | 
|---|
| 64 | WSACancelAsyncRequest       = _WSACancelAsyncRequest@4              @108 | 
|---|
| 65 | WSASetBlockingHook          = _WSASetBlockingHook@4                 @109 | 
|---|
| 66 | WSAUnhookBlockingHook       = _WSAUnhookBlockingHook@0              @110 | 
|---|
| 67 | WSAGetLastError             = _WSAGetLastError@0                    @111 | 
|---|
| 68 | WSASetLastError             = _WSASetLastError@4                    @112 | 
|---|
| 69 | WSACancelBlockingCall       = _WSACancelBlockingCall@0              @113 | 
|---|
| 70 | WSAIsBlocking               = _WSAIsBlocking@0                      @114 | 
|---|
| 71 | WSAStartup                  = _WSAStartup@8                         @115 | 
|---|
| 72 | WSACleanup                  = _WSACleanup@0                         @116 | 
|---|
| 73 | __WSAFDIsSet                = ___WSAFDIsSet@8                       @151 | 
|---|
| 74 |  | 
|---|
| 75 | rcmd                        = _OS2rcmd@24                              @1102 | 
|---|
| 76 | rexec                       = _OS2rexec@24                             @1103 | 
|---|
| 77 | WSARecvEx                   = _WSARecvEx@16                         @1107 | 
|---|
| 78 | s_perror                    = _OS2s_perror@8                           @1108 | 
|---|
| 79 |  | 
|---|
| 80 | ; ------------------- | 
|---|
| 81 | ; not yet implemented | 
|---|
| 82 | ; ------------------- | 
|---|
| 83 |  | 
|---|
| 84 | ;  WsControl                   = _OS2WsControl                            @1000 | 
|---|
| 85 | ;  closesockinfo               = _OS2closesockinfo                        @1001 | 
|---|
| 86 | ;  WSHEnumProtocols            = _OS2WSHEnumProtocols                     @1004 | 
|---|
| 87 | ;  inet_network                = _OS2inet_network                         @1100 | 
|---|
| 88 | ;  getnetbyname                = _OS2getnetbyname                         @1101 | 
|---|
| 89 | ;  rresvport                   = _OS2rresvport                            @1104 | 
|---|
| 90 | ;  sethostname                 = _OS2sethostname                          @1105 | 
|---|
| 91 | ;  dn_expand                   = _OS2dn_expand                            @1106 | 
|---|
| 92 | ;  Arecv                       = _OS2Arecv | 
|---|
| 93 | ;  Asend                       = _OS2Asend | 
|---|
| 94 | ;  EnumProtocolsA              = _OS2EnumProtocolsA | 
|---|
| 95 | ;  EnumProtocolsW              = _OS2EnumProtocolsW | 
|---|
| 96 | ;  GetAddressByNameA           = _OS2GetAddressByNameA | 
|---|
| 97 | ;  GetAddressByNameW           = _OS2GetAddressByNameW | 
|---|
| 98 | ;  GetNameByTypeA              = _OS2GetNameByTypeA | 
|---|
| 99 | ;  GetNameByTypeW              = _OS2GetNameByTypeW | 
|---|
| 100 | ;  GetServiceA                 = _OS2GetServiceA | 
|---|
| 101 | ;  GetServiceW                 = _OS2GetServiceW | 
|---|
| 102 | ;  GetTypeByNameA              = _OS2GetTypeByNameA | 
|---|
| 103 | ;  GetTypeByNameW              = _OS2GetTypeByNameW | 
|---|
| 104 | ;  NPLoadNameSpaces            = _OS2NPLoadNameSpaces | 
|---|
| 105 | ;  SetServiceA                 = _OS2SetServiceA | 
|---|
| 106 | ;  SetServiceW                 = _OS2SetServiceW | 
|---|
| 107 | ;  TransmitFile                = _OS2TransmitFile | 
|---|
| 108 |  | 
|---|
| 109 | ; ----------------------- | 
|---|
| 110 | ; ODIN internal functions | 
|---|
| 111 | ; ----------------------- | 
|---|
| 112 |  | 
|---|
| 113 | _OS2gethostname@8                        @2000 | 
|---|