Moved win32_* to win32/* (a la d1x), starting to get net working.
[btb/d2x.git] / arch / linux / include / serial.h
1 // Name: Serial port support for Linux D1X
2 // Author: dph
3 // Date: Sun Oct 18, 1998
4
5 #ifndef _SERIAL_H
6 #define _SERIAL_H
7 void com_done(void);
8 int com_init(void);
9 int com_read(char *buffer, int len, int timeout_value);
10 int com_write(char *buffer, int len);
11 void com_port_hangup();
12 int com_getdcd();
13 void com_flushbuffers();
14 void com_setbaudrate(int rate);
15 int com_readline(int timeout, char *input_buffer,int len);
16
17 extern int commlib_initialised;
18 #endif