Abey George (of Macadamian/Corel)
[wine/multimedia.git] / include / comm.h
blob437731c9c564f1703639940a0191389400e81ead
1 #ifndef __WINE_COMM_H
2 #define __WINE_COMM_H
4 #include "windef.h"
6 #define MAX_PORTS 9
8 struct DosDeviceStruct {
9 char *devicename; /* /dev/cua1 */
10 int fd;
11 int suspended;
12 int unget,xmit;
13 int baudrate;
14 int evtchar;
15 /* events */
16 int commerror, eventmask;
17 /* buffers */
18 char *inbuf,*outbuf;
19 unsigned ibuf_size,ibuf_head,ibuf_tail;
20 unsigned obuf_size,obuf_head,obuf_tail;
21 /* notifications */
22 int wnd, n_read, n_write;
23 HANDLE s_read, s_write;
26 extern void COMM_Init(void);
28 #endif /* __WINE_COMM_H */