Bug fixes.
[wine] / include / comm.h
1 #ifndef __WINE_COMM_H
2 #define __WINE_COMM_H
3
4 #define MAX_PORTS   9
5
6 struct DosDeviceStruct {
7     char *devicename;   /* /dev/cua1 */
8     int fd;
9     int suspended;
10     int unget,xmit;
11     int baudrate;
12     /* events */
13     int commerror, eventmask;
14     /* buffers */
15     char *inbuf,*outbuf;
16     unsigned ibuf_size,ibuf_head,ibuf_tail;
17     unsigned obuf_size,obuf_head,obuf_tail;
18     /* notifications */
19     int wnd, n_read, n_write;
20 };
21
22 extern void COMM_Init(void);
23
24 #endif  /* __WINE_COMM_H */