Files
2ine-tms34010/native/os2.h
T
Ryan C. Gordon b72ccd6e5a Implemented just enough of tcpip32.dll and dependencies to run FINGER.EXE.
Finger (etc) also rely on MPTN\DLL\tnls32.dll, which I pulled out a copy of
OS/2 Warp 4.52, which loads and limps along enough to not be a problem.
Reimplementing that library is going to be a pain, so that's a job for another
day. Inexplicably, tnls32 references pmgpi.dll's GpiQueryTextBox(), so I put a
stub for that in, too, but we're nowhere near really implementing GPI yet.

This is enough to run "finger.exe icculus@icculus.org" and see my .plan file,
which I consider a victory. A few more TCP/IP command line tools aren't far
behind.
2017-12-21 17:53:05 -05:00

24 lines
604 B
C

#ifndef _INCL_OS2_H_
#define _INCL_OS2_H_
// !!! FIXME: the official toolkit headers have all sorts of tapdancing with
// "#ifdef INCL_DOSPROCESS" and "#define INCL_DOSINCLUDED" and stuff.
// !!! FIXME: naturally, these filenames don't match either, but this isn't
// !!! FIXME: meant to be a drop-in replacement. At least: not at the moment.
#include "os2types.h"
#include "os2errors.h"
#include "doscalls.h"
#include "kbdcalls.h"
#include "viocalls.h"
#include "quecalls.h"
#include "msg.h"
#include "nls.h"
#include "sesmgr.h"
#include "pmgpi.h"
#include "tcpip32.h"
#endif
// end of os2.h ...