mirror of
git://source.winehq.org/git/wine.git
synced 2024-11-05 18:01:34 +00:00
28 lines
562 B
C
28 lines
562 B
C
#ifndef __WINE_COMM_H
|
|
#define __WINE_COMM_H
|
|
|
|
#include "windef.h"
|
|
|
|
#define MAX_PORTS 9
|
|
|
|
struct DosDeviceStruct {
|
|
char *devicename; /* /dev/cua1 */
|
|
int fd;
|
|
int suspended;
|
|
int unget,xmit;
|
|
int baudrate;
|
|
int evtchar;
|
|
/* events */
|
|
int commerror, eventmask;
|
|
/* buffers */
|
|
char *inbuf,*outbuf;
|
|
unsigned ibuf_size,ibuf_head,ibuf_tail;
|
|
unsigned obuf_size,obuf_head,obuf_tail;
|
|
/* notifications */
|
|
int wnd, n_read, n_write;
|
|
HANDLE s_read, s_write;
|
|
};
|
|
|
|
extern void COMM_Init(void);
|
|
|
|
#endif /* __WINE_COMM_H */
|