Authors: Chris Morgan <cmorgan@wpi.edu>, James Abbatiello <abbeyj@wpi.edu>
[wine/multimedia.git] / include / comm.h
blob701eddbf7e2f6684890bbb26ac9a8021413b85da
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 service;
26 extern void COMM_Init(void);
28 #endif /* __WINE_COMM_H */