home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Frozen Fish 1: Amiga
/
FrozenFish-Apr94.iso
/
bbs
/
alib
/
d5xx
/
d523
/
serlib.lha
/
SerLib
/
Examples
/
Aztec_3.6
/
serlib.h
< prev
next >
Wrap
C/C++ Source or Header
|
1991-08-05
|
1KB
|
37 lines
/**********************************************************************\
* SerLib.h © 1991 G. Glendown *
* *
* This is the Include-File for using SerLib from C. *
* Pragma-Definition only for SAS/C *
\**********************************************************************/
#define ABORT_SEND 1
#define ABORT_RECV 2
struct SerLibdata *OpenSerial();
void CloseSerial();
LONG ChangeData();
LONG WriteSer();
LONG ReadSer();
void GetStatus();
long SerBuffer();
ULONG WaitSer();
BOOL CheckCD();
LONG SendSer();
LONG RecvSer();
LONG AbortIOSer();
BOOL CheckIOSer();
LONG ClearSer();
struct SerLibData {
struct Port *SerPort; /* You shouldn't fool 'round with these */
struct Port *SerWPort;
struct IOExtSer *SerReq; /* babies, they're internal use only! */
struct IOExtSer *SerWReq;
};
struct SerStatus {
ULONG ss_unread; /* Number of bytes in the serial buffer */
UWORD ss_status; /* see io_Status in struct IOExtSer */
};