]> icculus.org git repositories - btb/d2x.git/blob - arch/win32/include/serial.h
copied from d1x
[btb/d2x.git] / arch / win32 / include / serial.h
1 #ifndef _SERIAL_H
2 #define _SERIAL_H
3
4 extern void com_done(void);
5 extern int com_init(void);
6 extern int com_read(char *buffer, int len, int timeout_value);
7 extern int com_write(char *buffer, int len);
8 extern void com_port_hangup();
9 extern int com_getdcd();
10 extern void com_flushbuffers();
11 extern void com_setbaudrate(int rate);
12 extern int com_readline(int timeout_value, char *input_buffer,int len);
13
14 extern int commlib_initialised;
15 #endif