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