26 #if !USE_ARBITRARY_BAUDRATE
36 #include <linux/termios.h>
52 void(*term_conf_callback)(
struct termios *, speed_t *));
struct termios cur_termios
void serial_port_free(struct SerialPort *me)
void serial_port_close(struct SerialPort *me)
int serial_port_open_raw(struct SerialPort *me, const char *device, speed_t speed)
struct termios orig_termios
void serial_port_flush_output(struct SerialPort *me)
int serial_port_set_bits_stop_parity(struct SerialPort *me, const int bits, const int stop, const int parity)
int serial_port_open(struct SerialPort *me, const char *device, void(*term_conf_callback)(struct termios *, speed_t *))
struct SerialPort * serial_port_new(void)
int serial_port_set_baudrate(struct SerialPort *me, speed_t speed)
void serial_port_flush(struct SerialPort *me)