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