source: trunk/src/wsock32/unknown.cpp@ 3927

Last change on this file since 3927 was 3927, checked in by bird, 25 years ago

Corrected states.

File size: 3.6 KB
Line 
1/* $Id: unknown.cpp,v 1.9 2000-08-02 16:19:28 bird Exp $ */
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>
16#include <odinwrap.h>
17#include "wsock32.h"
18
19#define DBG_LOCALLOG DBG_unknown
20#include "dbglocal.h"
21
22//kso: dirty fix to make this compile! not permanent!
23BOOL WINAPI QueryPerformanceCounter(LARGE_INTEGER *);
24#define LowPart u.LowPart
25
26ODINDEBUGCHANNEL(WSOCK32-UNKNOWN)
27
28/*****************************************************************************
29 *
30 * Purpose, :
31 * Parameters:
32 * Variables :
33 * Result :
34 * Remark : WSOCK32.1102
35 * Status : UNTESTED STUB
36 *
37 * Author : Patrick Haller [Tue, 1999/06/01 09:00]
38 *****************************************************************************/
39
40ODINFUNCTION6(int, OS2rexec, LPSTR*, lppArg1,
41 int, iArg2,
42 LPSTR, lpArg3,
43 LPSTR, lpArg4,
44 LPSTR, lpArg5,
45 int*, lpiArg6)
46{
47 dprintf(("WSOCK32: rexec not implemented correctly.\n"));
48
49 return rexec(lppArg1,
50 iArg2,
51 lpArg3,
52 lpArg4,
53 lpArg5,
54 lpiArg6);
55}
56
57
58/*****************************************************************************
59 * ODINFUNCTION6( :, int, WIN32API, OS2rcmd,
60 * Purpose, :,
61 * Parameters:,
62 * Variables, :,
63 * Result :
64 * Remark : WSOCK32.1103
65 * Status : UNTESTED STUB
66 *
67 * Author : Patrick Haller [Tue, 1999/06/01 09:00]
68 *****************************************************************************/
69
70ODINFUNCTION6(int, OS2rcmd, LPSTR*, lppArg1,
71 int, iArg2,
72 const char*,lpArg3,
73 const char*,lpArg4,
74 const char*,lpArg5,
75 int *,lpiArg6)
76{
77 dprintf(("WSOCK32: rcmd not implemented.\n"));
78
79 //@@@PH actually it exists in TCP/IP 5.0 headers. Unknown which OS/2 function to link to.
80 return 0;
81/*
82 return rcmd(lppArg1,
83 iArg2,
84 lpArg3,
85 lpArg4,
86 lpArg5,
87 lpiArg6);
88*/
89}
90
91
92/*****************************************************************************
93 * Name :
94 * Purpose :
95 * Parameters:
96 * Variables :
97 * Result :
98 * Remark :
99 * Status : UNTESTED STUB
100 *
101 * Author : Patrick Haller [Tue, 1998/06/16 23:00]
102 *****************************************************************************/
103
104ODINFUNCTION4(int, WSARecvEx, SOCKET, s,
105 char FAR*, buf,
106 int, len,
107 int FAR *,flags)
108{
109 dprintf(("WSOCK32: WSARecvEx not implemented.\n"));
110
111// return WSARecvEx(s,buf,len,flags);
112 return 0;
113}
114
115
116/*****************************************************************************
117 * Name :
118 * Purpose :
119 * Parameters:
120 * Variables :
121 * Result :
122 * Remark :
123 * Status : UNTESTED STUB
124 *
125 * Author : Patrick Haller [Tue, 1998/06/16 23:00]
126 *****************************************************************************/
127
128ODINPROCEDURE2(OS2s_perror, char*, pszMessage,
129 void*, pUnknown)
130{
131 dprintf(("WSOCK32: s_perror not implemented.\n"));
132
133 //perror(pszMessage);
134}
135
136
Note: See TracBrowser for help on using the repository browser.