Rev | Line | |
---|
[4] | 1 | /* $Id: comm.h,v 1.1 1999-05-24 20:19:09 ktk Exp $ */
|
---|
| 2 |
|
---|
| 3 | #ifndef __WINE_COMM_H
|
---|
| 4 | #define __WINE_COMM_H
|
---|
| 5 |
|
---|
| 6 | #define MAX_PORTS 9
|
---|
| 7 |
|
---|
| 8 | struct DosDeviceStruct {
|
---|
| 9 | char *devicename; /* /dev/cua1 */
|
---|
| 10 | int fd;
|
---|
| 11 | int suspended;
|
---|
| 12 | int unget,xmit;
|
---|
| 13 | int baudrate;
|
---|
| 14 | /* events */
|
---|
| 15 | int commerror, eventmask;
|
---|
| 16 | /* buffers */
|
---|
| 17 | char *inbuf,*outbuf;
|
---|
| 18 | unsigned ibuf_size,ibuf_head,ibuf_tail;
|
---|
| 19 | unsigned obuf_size,obuf_head,obuf_tail;
|
---|
| 20 | /* notifications */
|
---|
| 21 | int wnd, n_read, n_write;
|
---|
| 22 | };
|
---|
| 23 |
|
---|
| 24 | extern void COMM_Init(void);
|
---|
| 25 |
|
---|
| 26 | #endif /* __WINE_COMM_H */
|
---|
Note:
See
TracBrowser
for help on using the repository browser.