New channel 'debugstr' used to print OutputDebugString API calls.
[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     int evtchar;
13     /* events */
14     int commerror, eventmask;
15     /* buffers */
16     char *inbuf,*outbuf;
17     unsigned ibuf_size,ibuf_head,ibuf_tail;
18     unsigned obuf_size,obuf_head,obuf_tail;
19     /* notifications */
20     int wnd, n_read, n_write;
21     HANDLE service;
22 };
23
24 extern void COMM_Init(void);
25
26 #endif  /* __WINE_COMM_H */