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