GDB (xrefs)
Loading...
Searching...
No Matches
Public Attributes | List of all members
serial_ops Struct Reference

#include "serial.h"

Public Attributes

const char * name
 
int(* open )(struct serial *, const char *name)
 
void(* close )(struct serial *)
 
int(* fdopen )(struct serial *, int fd)
 
int(* readchar )(struct serial *, int timeout)
 
int(* write )(struct serial *, const void *buf, size_t count)
 
int(* flush_output )(struct serial *)
 
int(* flush_input )(struct serial *)
 
int(* send_break )(struct serial *)
 
void(* go_raw )(struct serial *)
 
serial_ttystate(* get_tty_state )(struct serial *)
 
serial_ttystate(* copy_tty_state )(struct serial *, serial_ttystate)
 
int(* set_tty_state )(struct serial *, serial_ttystate)
 
void(* print_tty_state )(struct serial *, serial_ttystate, struct ui_file *)
 
int(* setbaudrate )(struct serial *, int rate)
 
int(* setstopbits )(struct serial *, int num)
 
int(* setparity )(struct serial *, int parity)
 
int(* drain_output )(struct serial *)
 
void(* async )(struct serial *scb, int async_p)
 
int(* read_prim )(struct serial *scb, size_t count)
 
int(* write_prim )(struct serial *scb, const void *buf, size_t count)
 
int(* avail )(struct serial *scb, int fd)
 

Detailed Description

Definition at line 259 of file serial.h.

Member Data Documentation

◆ async

void(* serial_ops::async) (struct serial *scb, int async_p)

Definition at line 288 of file serial.h.

Referenced by serial_async(), serial_can_async_p(), and serial_is_async_p().

◆ avail

int(* serial_ops::avail) (struct serial *scb, int fd)

Definition at line 299 of file serial.h.

Referenced by ser_base_read_error_fd().

◆ close

void(* serial_ops::close) (struct serial *)

Definition at line 263 of file serial.h.

Referenced by do_serial_close().

◆ copy_tty_state

serial_ttystate(* serial_ops::copy_tty_state) (struct serial *, serial_ttystate)

Definition at line 274 of file serial.h.

Referenced by serial_copy_tty_state().

◆ drain_output

int(* serial_ops::drain_output) (struct serial *)

Definition at line 284 of file serial.h.

Referenced by serial_drain_output().

◆ fdopen

int(* serial_ops::fdopen) (struct serial *, int fd)

Definition at line 264 of file serial.h.

Referenced by serial_fdopen_ops().

◆ flush_input

int(* serial_ops::flush_input) (struct serial *)

Definition at line 270 of file serial.h.

Referenced by serial_flush_input().

◆ flush_output

int(* serial_ops::flush_output) (struct serial *)

Definition at line 268 of file serial.h.

Referenced by serial_flush_output().

◆ get_tty_state

serial_ttystate(* serial_ops::get_tty_state) (struct serial *)

Definition at line 273 of file serial.h.

Referenced by serial_get_tty_state().

◆ go_raw

void(* serial_ops::go_raw) (struct serial *)

Definition at line 272 of file serial.h.

Referenced by serial_raw().

◆ name

const char* serial_ops::name

◆ open

int(* serial_ops::open) (struct serial *, const char *name)

Definition at line 262 of file serial.h.

Referenced by serial_open_ops_1().

◆ print_tty_state

void(* serial_ops::print_tty_state) (struct serial *, serial_ttystate, struct ui_file *)

Definition at line 276 of file serial.h.

Referenced by serial_print_tty_state().

◆ read_prim

int(* serial_ops::read_prim) (struct serial *scb, size_t count)

Definition at line 291 of file serial.h.

Referenced by do_ser_base_readchar(), and fd_event().

◆ readchar

int(* serial_ops::readchar) (struct serial *, int timeout)

Definition at line 265 of file serial.h.

Referenced by serial_readchar().

◆ send_break

int(* serial_ops::send_break) (struct serial *)

Definition at line 271 of file serial.h.

Referenced by serial_send_break().

◆ set_tty_state

int(* serial_ops::set_tty_state) (struct serial *, serial_ttystate)

Definition at line 275 of file serial.h.

Referenced by serial_set_tty_state().

◆ setbaudrate

int(* serial_ops::setbaudrate) (struct serial *, int rate)

Definition at line 278 of file serial.h.

Referenced by serial_setbaudrate().

◆ setparity

int(* serial_ops::setparity) (struct serial *, int parity)

Definition at line 282 of file serial.h.

Referenced by serial_setparity().

◆ setstopbits

int(* serial_ops::setstopbits) (struct serial *, int num)

Definition at line 279 of file serial.h.

Referenced by serial_setstopbits().

◆ write

int(* serial_ops::write) (struct serial *, const void *buf, size_t count)

Definition at line 266 of file serial.h.

Referenced by ser_unix_write_prim(), serial_write(), and gdb._GdbFile::writelines().

◆ write_prim

int(* serial_ops::write_prim) (struct serial *scb, const void *buf, size_t count)

Definition at line 294 of file serial.h.

Referenced by ser_base_write().


The documentation for this struct was generated from the following file: