|
GDB (xrefs)
|
#include "serial.h"Go to the source code of this file.
Functions | |
| int | generic_readchar (struct serial *scb, int timeout, int(*do_readchar)(struct serial *scb, int timeout)) |
| int | ser_base_flush_output (struct serial *scb) |
| int | ser_base_flush_input (struct serial *scb) |
| int | ser_base_send_break (struct serial *scb) |
| void | ser_base_raw (struct serial *scb) |
| serial_ttystate | ser_base_get_tty_state (struct serial *scb) |
| serial_ttystate | ser_base_copy_tty_state (struct serial *scb, serial_ttystate ttystate) |
| int | ser_base_set_tty_state (struct serial *scb, serial_ttystate ttystate) |
| void | ser_base_print_tty_state (struct serial *scb, serial_ttystate ttystate, struct ui_file *stream) |
| int | ser_base_setbaudrate (struct serial *scb, int rate) |
| int | ser_base_setstopbits (struct serial *scb, int num) |
| int | ser_base_setparity (struct serial *scb, int parity) |
| int | ser_base_drain_output (struct serial *scb) |
| int | ser_base_write (struct serial *scb, const void *buf, size_t count) |
| void | ser_base_async (struct serial *scb, int async_p) |
| int | ser_base_readchar (struct serial *scb, int timeout) |
| int generic_readchar | ( | struct serial * | scb, |
| int | timeout, | ||
| int(*)(struct serial *scb, int timeout) | do_readchar | ||
| ) |
| void ser_base_async | ( | struct serial * | scb, |
| int | async_p | ||
| ) |
Definition at line 586 of file ser-base.c.
References add_file_handler(), serial::async_state, delete_file_handler(), delete_timer(), serial::error_fd, serial::fd, FD_SCHEDULED, fprintf_unfiltered(), gdb_stdlog, handle_error_fd(), NOTHING_SCHEDULED, reschedule(), and serial_debug_p().
| serial_ttystate ser_base_copy_tty_state | ( | struct serial * | scb, |
| serial_ttystate | ttystate | ||
| ) |
Definition at line 542 of file ser-base.c.
References XNEW.
| int ser_base_drain_output | ( | struct serial * | scb | ) |
Definition at line 523 of file ser-base.c.
| int ser_base_flush_input | ( | struct serial * | scb | ) |
Definition at line 504 of file ser-base.c.
References serial::buf, serial::bufcnt, serial::bufp, and SERIAL_ERROR.
Referenced by hardwire_flush_input().
| int ser_base_flush_output | ( | struct serial * | scb | ) |
Definition at line 498 of file ser-base.c.
| serial_ttystate ser_base_get_tty_state | ( | struct serial * | scb | ) |
Definition at line 535 of file ser-base.c.
References XNEW.
| void ser_base_print_tty_state | ( | struct serial * | scb, |
| serial_ttystate | ttystate, | ||
| struct ui_file * | stream | ||
| ) |
Definition at line 555 of file ser-base.c.
| void ser_base_raw | ( | struct serial * | scb | ) |
Definition at line 529 of file ser-base.c.
| int ser_base_readchar | ( | struct serial * | scb, |
| int | timeout | ||
| ) |
Definition at line 468 of file ser-base.c.
References do_ser_base_readchar(), and generic_readchar().
| int ser_base_send_break | ( | struct serial * | scb | ) |
Definition at line 517 of file ser-base.c.
| int ser_base_set_tty_state | ( | struct serial * | scb, |
| serial_ttystate | ttystate | ||
| ) |
Definition at line 549 of file ser-base.c.
| int ser_base_setbaudrate | ( | struct serial * | scb, |
| int | rate | ||
| ) |
Definition at line 564 of file ser-base.c.
| int ser_base_setparity | ( | struct serial * | scb, |
| int | parity | ||
| ) |
Definition at line 578 of file ser-base.c.
| int ser_base_setstopbits | ( | struct serial * | scb, |
| int | num | ||
| ) |
Definition at line 570 of file ser-base.c.
| int ser_base_write | ( | struct serial * | scb, |
| const void * | buf, | ||
| size_t | count | ||
| ) |
Definition at line 474 of file ser-base.c.
References serial::ops, QUIT, and serial_ops::write_prim.
1.8.14