[4389] | 1 | /* $Id: unknown.cpp,v 1.10 2000-10-02 18:56:17 sandervl Exp $ */
|
---|
[283] | 2 |
|
---|
| 3 | /*
|
---|
| 4 | * Project Odin Software License can be found in LICENSE.TXT
|
---|
| 5 | * Win32 NT Runtime / NTDLL for OS/2
|
---|
| 6 | * Copyright 1998, 1999 Patrick Haller (phaller@gmx.net)
|
---|
| 7 | */
|
---|
| 8 |
|
---|
| 9 |
|
---|
| 10 | /*****************************************************************************
|
---|
| 11 | * Includes *
|
---|
| 12 | *****************************************************************************/
|
---|
| 13 |
|
---|
| 14 | #include <os2wrap.h>
|
---|
| 15 | #include <misc.h>
|
---|
[518] | 16 | #include <odinwrap.h>
|
---|
[4389] | 17 | #include <win32api.h>
|
---|
[3229] | 18 | #include "wsock32.h"
|
---|
[283] | 19 |
|
---|
[3195] | 20 | #define DBG_LOCALLOG DBG_unknown
|
---|
| 21 | #include "dbglocal.h"
|
---|
[283] | 22 |
|
---|
[3472] | 23 | //kso: dirty fix to make this compile! not permanent!
|
---|
| 24 | BOOL WINAPI QueryPerformanceCounter(LARGE_INTEGER *);
|
---|
| 25 | #define LowPart u.LowPart
|
---|
| 26 |
|
---|
[518] | 27 | ODINDEBUGCHANNEL(WSOCK32-UNKNOWN)
|
---|
| 28 |
|
---|
[283] | 29 | /*****************************************************************************
|
---|
[518] | 30 | *
|
---|
| 31 | * Purpose, :
|
---|
[283] | 32 | * Parameters:
|
---|
| 33 | * Variables :
|
---|
| 34 | * Result :
|
---|
| 35 | * Remark : WSOCK32.1102
|
---|
[3927] | 36 | * Status : UNTESTED STUB
|
---|
[283] | 37 | *
|
---|
| 38 | * Author : Patrick Haller [Tue, 1999/06/01 09:00]
|
---|
| 39 | *****************************************************************************/
|
---|
| 40 |
|
---|
[518] | 41 | ODINFUNCTION6(int, OS2rexec, LPSTR*, lppArg1,
|
---|
| 42 | int, iArg2,
|
---|
| 43 | LPSTR, lpArg3,
|
---|
| 44 | LPSTR, lpArg4,
|
---|
| 45 | LPSTR, lpArg5,
|
---|
| 46 | int*, lpiArg6)
|
---|
[283] | 47 | {
|
---|
[1367] | 48 | dprintf(("WSOCK32: rexec not implemented correctly.\n"));
|
---|
[283] | 49 |
|
---|
| 50 | return rexec(lppArg1,
|
---|
| 51 | iArg2,
|
---|
| 52 | lpArg3,
|
---|
| 53 | lpArg4,
|
---|
| 54 | lpArg5,
|
---|
| 55 | lpiArg6);
|
---|
| 56 | }
|
---|
| 57 |
|
---|
| 58 |
|
---|
| 59 | /*****************************************************************************
|
---|
[518] | 60 | * ODINFUNCTION6( :, int, WIN32API, OS2rcmd,
|
---|
| 61 | * Purpose, :,
|
---|
| 62 | * Parameters:,
|
---|
| 63 | * Variables, :,
|
---|
[283] | 64 | * Result :
|
---|
| 65 | * Remark : WSOCK32.1103
|
---|
[3927] | 66 | * Status : UNTESTED STUB
|
---|
[283] | 67 | *
|
---|
| 68 | * Author : Patrick Haller [Tue, 1999/06/01 09:00]
|
---|
| 69 | *****************************************************************************/
|
---|
| 70 |
|
---|
[518] | 71 | ODINFUNCTION6(int, OS2rcmd, LPSTR*, lppArg1,
|
---|
| 72 | int, iArg2,
|
---|
| 73 | const char*,lpArg3,
|
---|
| 74 | const char*,lpArg4,
|
---|
| 75 | const char*,lpArg5,
|
---|
| 76 | int *,lpiArg6)
|
---|
[283] | 77 | {
|
---|
[518] | 78 | dprintf(("WSOCK32: rcmd not implemented.\n"));
|
---|
[283] | 79 |
|
---|
| 80 | //@@@PH actually it exists in TCP/IP 5.0 headers. Unknown which OS/2 function to link to.
|
---|
| 81 | return 0;
|
---|
| 82 | /*
|
---|
| 83 | return rcmd(lppArg1,
|
---|
| 84 | iArg2,
|
---|
| 85 | lpArg3,
|
---|
| 86 | lpArg4,
|
---|
| 87 | lpArg5,
|
---|
| 88 | lpiArg6);
|
---|
| 89 | */
|
---|
| 90 | }
|
---|
| 91 |
|
---|
[518] | 92 |
|
---|
[2013] | 93 | /*****************************************************************************
|
---|
| 94 | * Name :
|
---|
| 95 | * Purpose :
|
---|
| 96 | * Parameters:
|
---|
| 97 | * Variables :
|
---|
| 98 | * Result :
|
---|
| 99 | * Remark :
|
---|
| 100 | * Status : UNTESTED STUB
|
---|
| 101 | *
|
---|
| 102 | * Author : Patrick Haller [Tue, 1998/06/16 23:00]
|
---|
| 103 | *****************************************************************************/
|
---|
| 104 |
|
---|
[3229] | 105 | ODINFUNCTION4(int, WSARecvEx, SOCKET, s,
|
---|
[2013] | 106 | char FAR*, buf,
|
---|
| 107 | int, len,
|
---|
| 108 | int FAR *,flags)
|
---|
| 109 | {
|
---|
| 110 | dprintf(("WSOCK32: WSARecvEx not implemented.\n"));
|
---|
| 111 |
|
---|
| 112 | // return WSARecvEx(s,buf,len,flags);
|
---|
| 113 | return 0;
|
---|
| 114 | }
|
---|
| 115 |
|
---|
| 116 |
|
---|
| 117 | /*****************************************************************************
|
---|
| 118 | * Name :
|
---|
| 119 | * Purpose :
|
---|
| 120 | * Parameters:
|
---|
| 121 | * Variables :
|
---|
| 122 | * Result :
|
---|
| 123 | * Remark :
|
---|
| 124 | * Status : UNTESTED STUB
|
---|
| 125 | *
|
---|
| 126 | * Author : Patrick Haller [Tue, 1998/06/16 23:00]
|
---|
| 127 | *****************************************************************************/
|
---|
| 128 |
|
---|
| 129 | ODINPROCEDURE2(OS2s_perror, char*, pszMessage,
|
---|
| 130 | void*, pUnknown)
|
---|
| 131 | {
|
---|
| 132 | dprintf(("WSOCK32: s_perror not implemented.\n"));
|
---|
| 133 |
|
---|
| 134 | //perror(pszMessage);
|
---|
| 135 | }
|
---|
| 136 |
|
---|
| 137 |
|
---|