wine/include/comm.h
Ove Kaaven a4dd1bee31 Implemented async comm buffers (but probably not bugfree), and along
with them, the functionality of async event notifications, mong them
EnableCommNotification. Removed a previous hack that was faking the
buffers, since we now have real buffers...
1999-04-01 11:52:16 +00:00

24 lines
496 B
C

#ifndef __WINE_COMM_H
#define __WINE_COMM_H
#define MAX_PORTS 9
struct DosDeviceStruct {
char *devicename; /* /dev/cua1 */
int fd;
int suspended;
int unget,xmit;
int baudrate;
/* events */
int commerror, eventmask;
/* buffers */
char *inbuf,*outbuf;
unsigned ibuf_size,ibuf_head,ibuf_tail;
unsigned obuf_size,obuf_head,obuf_tail;
/* notifications */
int wnd, n_read, n_write;
};
extern void COMM_Init(void);
#endif /* __WINE_COMM_H */