]> icculus.org git repositories - btb/d2x.git/blob - arch/linux/include/serial.h
fix problems with msgbuf struct not being defined (d1x r1.4)
[btb/d2x.git] / arch / linux / include / serial.h
1 /* $Id: serial.h,v 1.2 2003-03-13 00:20:21 btb Exp $ */
2 /*
3  *
4  * Name: Serial port support for Linux D1X
5  * Author: dph
6  * Date: Sun Oct 18, 1998
7  *
8  */
9
10 #ifndef _SERIAL_H
11 #define _SERIAL_H
12
13 void com_done(void);
14 int com_init(void);
15 int com_read(char *buffer, int len, int timeout_value);
16 int com_write(char *buffer, int len);
17 void com_port_hangup();
18 int com_getdcd();
19 void com_flushbuffers();
20 void com_setbaudrate(int rate);
21 int com_readline(int timeout, char *input_buffer,int len);
22
23 extern int commlib_initialised;
24
25 #endif