[comp.sources.amiga] uw term.h

ain@j.cc.purdue.edu (Patrick White) (03/19/88)

Program Name:	unix windows term.h file
Submitted By:	denbeste@cc5.bbn.com
Summary:	This is the term.h file that was missing from uw when we
		posted it.
Poster Boy:  Pat White  (ain@j.cc.purdue.edu)
Untested.

NOTES:
   After the origional posting of unix windows source, we found out that
the file term.h was missing.  Well, here it is.
   It's not shar'ed.. I didn't think it really needed it.  However, I put
my signature at the end of the file so you are all sure it didn't get
truncated on it's way to your site.

-- Pat White   (co-moderator comp.sources/binaries.amiga)
UUCP: j.cc.purdue.edu!ain  BITNET: PATWHITE@PURCCVM   PHONE: (317) 743-8421
U.S.  Mail:  320 Brown St. apt. 406,    West Lafayette, IN 47906

========================================

/* INCLUDES ********************************************************** */

#include "exec/types.h"
#include "exec/ports.h"
#include "exec/devices.h"
#include "exec/io.h"
#include "exec/memory.h"

#include "libraries/dos.h"
#include "graphics/text.h"
#include "libraries/diskfont.h"
#include "intuition/intuition.h"
 
/* EXTERNALS ***************************************************** */

extern struct Window *OpenWindow();
extern struct Screen *OpenScreen();
extern struct MsgPort *CreatePort();
extern struct IOStdReq *CreateStdIO();
extern struct IORequest *CreateExtIO();

/* DATA TYPES *****************/
struct uw_struct {
	int free;		/* is this uw struct free? */
	struct MsgPort *ConReadPort, *ConWritePort;
	struct IOStdReq *ConWriteReq, *ConReadReq;
	struct Window *win;
	int winsig, consig;
};

extern struct uw_struct uw[];
extern int uw_read, uw_write, uw_count;


-- Pat White   (co-moderator comp.sources/binaries.amiga)
ARPA/UUCP: j.cc.purdue.edu!ain  BITNET: PATWHITE@PURCCVM  PHONE: (317) 743-8421
U.S.  Mail:  320 Brown St. apt. 406,    West Lafayette, IN 47906