use super::super::c;
#[derive(Debug, Clone, Copy, Eq, PartialEq, Hash)]
#[repr(u32)]
pub enum OptionalActions {
#[doc(alias = "TCSANOW")]
Now = linux_raw_sys::general::TCSANOW,
#[doc(alias = "TCSADRAIN")]
Drain = linux_raw_sys::general::TCSADRAIN,
#[doc(alias = "TCSAFLUSH")]
Flush = linux_raw_sys::general::TCSAFLUSH,
}
#[derive(Debug, Clone, Copy, Eq, PartialEq, Hash)]
#[repr(u32)]
pub enum QueueSelector {
#[doc(alias = "TCIFLUSH")]
IFlush = linux_raw_sys::general::TCIFLUSH,
#[doc(alias = "TCOFLUSH")]
OFlush = linux_raw_sys::general::TCOFLUSH,
#[doc(alias = "TCIOFLUSH")]
IOFlush = linux_raw_sys::general::TCIOFLUSH,
}
#[derive(Debug, Clone, Copy, Eq, PartialEq, Hash)]
#[repr(u32)]
pub enum Action {
#[doc(alias = "TCOOFF")]
OOff = linux_raw_sys::general::TCOOFF,
#[doc(alias = "TCOON")]
OOn = linux_raw_sys::general::TCOON,
#[doc(alias = "TCIOFF")]
IOff = linux_raw_sys::general::TCIOFF,
#[doc(alias = "TCION")]
IOn = linux_raw_sys::general::TCION,
}
#[doc(alias = "termios")]
pub type Termios = linux_raw_sys::general::termios;
#[cfg(any(
target_arch = "x86",
target_arch = "x86_64",
target_arch = "x32",
target_arch = "riscv64",
target_arch = "aarch64",
target_arch = "arm",
target_arch = "mips",
target_arch = "mips64",
))]
#[doc(alias = "termios2")]
pub type Termios2 = linux_raw_sys::general::termios2;
#[doc(alias = "winsize")]
pub type Winsize = linux_raw_sys::general::winsize;
#[doc(alias = "tcflag_t")]
pub type Tcflag = linux_raw_sys::general::tcflag_t;
#[doc(alias = "speed_t")]
pub type Speed = linux_raw_sys::general::speed_t;
pub const VINTR: usize = linux_raw_sys::general::VINTR as usize;
pub const VQUIT: usize = linux_raw_sys::general::VQUIT as usize;
pub const VERASE: usize = linux_raw_sys::general::VERASE as usize;
pub const VKILL: usize = linux_raw_sys::general::VKILL as usize;
pub const VEOF: usize = linux_raw_sys::general::VEOF as usize;
pub const VTIME: usize = linux_raw_sys::general::VTIME as usize;
pub const VMIN: usize = linux_raw_sys::general::VMIN as usize;
pub const VSWTC: usize = linux_raw_sys::general::VSWTC as usize;
pub const VSTART: usize = linux_raw_sys::general::VSTART as usize;
pub const VSTOP: usize = linux_raw_sys::general::VSTOP as usize;
pub const VSUSP: usize = linux_raw_sys::general::VSUSP as usize;
pub const VEOL: usize = linux_raw_sys::general::VEOL as usize;
pub const VREPRINT: usize = linux_raw_sys::general::VREPRINT as usize;
pub const VDISCARD: usize = linux_raw_sys::general::VDISCARD as usize;
pub const VWERASE: usize = linux_raw_sys::general::VWERASE as usize;
pub const VLNEXT: usize = linux_raw_sys::general::VLNEXT as usize;
pub const VEOL2: usize = linux_raw_sys::general::VEOL2 as usize;
pub const IGNBRK: c::c_uint = linux_raw_sys::general::IGNBRK;
pub const BRKINT: c::c_uint = linux_raw_sys::general::BRKINT;
pub const IGNPAR: c::c_uint = linux_raw_sys::general::IGNPAR;
pub const PARMRK: c::c_uint = linux_raw_sys::general::PARMRK;
pub const INPCK: c::c_uint = linux_raw_sys::general::INPCK;
pub const ISTRIP: c::c_uint = linux_raw_sys::general::ISTRIP;
pub const INLCR: c::c_uint = linux_raw_sys::general::INLCR;
pub const IGNCR: c::c_uint = linux_raw_sys::general::IGNCR;
pub const ICRNL: c::c_uint = linux_raw_sys::general::ICRNL;
pub const IUCLC: c::c_uint = linux_raw_sys::general::IUCLC;
pub const IXON: c::c_uint = linux_raw_sys::general::IXON;
pub const IXANY: c::c_uint = linux_raw_sys::general::IXANY;
pub const IXOFF: c::c_uint = linux_raw_sys::general::IXOFF;
pub const IMAXBEL: c::c_uint = linux_raw_sys::general::IMAXBEL;
pub const IUTF8: c::c_uint = linux_raw_sys::general::IUTF8;
pub const OPOST: c::c_uint = linux_raw_sys::general::OPOST;
pub const OLCUC: c::c_uint = linux_raw_sys::general::OLCUC;
pub const ONLCR: c::c_uint = linux_raw_sys::general::ONLCR;
pub const OCRNL: c::c_uint = linux_raw_sys::general::OCRNL;
pub const ONOCR: c::c_uint = linux_raw_sys::general::ONOCR;
pub const ONLRET: c::c_uint = linux_raw_sys::general::ONLRET;
pub const OFILL: c::c_uint = linux_raw_sys::general::OFILL;
pub const OFDEL: c::c_uint = linux_raw_sys::general::OFDEL;
pub const NLDLY: c::c_uint = linux_raw_sys::general::NLDLY;
pub const NL0: c::c_uint = linux_raw_sys::general::NL0;
pub const NL1: c::c_uint = linux_raw_sys::general::NL1;
pub const CRDLY: c::c_uint = linux_raw_sys::general::CRDLY;
pub const CR0: c::c_uint = linux_raw_sys::general::CR0;
pub const CR1: c::c_uint = linux_raw_sys::general::CR1;
pub const CR2: c::c_uint = linux_raw_sys::general::CR2;
pub const CR3: c::c_uint = linux_raw_sys::general::CR3;
pub const TABDLY: c::c_uint = linux_raw_sys::general::TABDLY;
pub const TAB0: c::c_uint = linux_raw_sys::general::TAB0;
pub const TAB1: c::c_uint = linux_raw_sys::general::TAB1;
pub const TAB2: c::c_uint = linux_raw_sys::general::TAB2;
pub const TAB3: c::c_uint = linux_raw_sys::general::TAB3;
pub const BSDLY: c::c_uint = linux_raw_sys::general::BSDLY;
pub const BS0: c::c_uint = linux_raw_sys::general::BS0;
pub const BS1: c::c_uint = linux_raw_sys::general::BS1;
pub const FFDLY: c::c_uint = linux_raw_sys::general::FFDLY;
pub const FF0: c::c_uint = linux_raw_sys::general::FF0;
pub const FF1: c::c_uint = linux_raw_sys::general::FF1;
pub const VTDLY: c::c_uint = linux_raw_sys::general::VTDLY;
pub const VT0: c::c_uint = linux_raw_sys::general::VT0;
pub const VT1: c::c_uint = linux_raw_sys::general::VT1;
pub const B0: Speed = linux_raw_sys::general::B0;
pub const B50: Speed = linux_raw_sys::general::B50;
pub const B75: Speed = linux_raw_sys::general::B75;
pub const B110: Speed = linux_raw_sys::general::B110;
pub const B134: Speed = linux_raw_sys::general::B134;
pub const B150: Speed = linux_raw_sys::general::B150;
pub const B200: Speed = linux_raw_sys::general::B200;
pub const B300: Speed = linux_raw_sys::general::B300;
pub const B600: Speed = linux_raw_sys::general::B600;
pub const B1200: Speed = linux_raw_sys::general::B1200;
pub const B1800: Speed = linux_raw_sys::general::B1800;
pub const B2400: Speed = linux_raw_sys::general::B2400;
pub const B4800: Speed = linux_raw_sys::general::B4800;
pub const B9600: Speed = linux_raw_sys::general::B9600;
pub const B19200: Speed = linux_raw_sys::general::B19200;
pub const B38400: Speed = linux_raw_sys::general::B38400;
pub const B57600: Speed = linux_raw_sys::general::B57600;
pub const B115200: Speed = linux_raw_sys::general::B115200;
pub const B230400: Speed = linux_raw_sys::general::B230400;
pub const B460800: Speed = linux_raw_sys::general::B460800;
pub const B500000: Speed = linux_raw_sys::general::B500000;
pub const B576000: Speed = linux_raw_sys::general::B576000;
pub const B921600: Speed = linux_raw_sys::general::B921600;
pub const B1000000: Speed = linux_raw_sys::general::B1000000;
pub const B1152000: Speed = linux_raw_sys::general::B1152000;
pub const B1500000: Speed = linux_raw_sys::general::B1500000;
pub const B2000000: Speed = linux_raw_sys::general::B2000000;
#[cfg(not(any(target_arch = "sparc", target_arch = "sparc64")))]
pub const B2500000: Speed = linux_raw_sys::general::B2500000;
#[cfg(not(any(target_arch = "sparc", target_arch = "sparc64")))]
pub const B3000000: Speed = linux_raw_sys::general::B3000000;
#[cfg(not(any(target_arch = "sparc", target_arch = "sparc64")))]
pub const B3500000: Speed = linux_raw_sys::general::B3500000;
#[cfg(not(any(target_arch = "sparc", target_arch = "sparc64")))]
pub const B4000000: Speed = linux_raw_sys::general::B4000000;
pub const BOTHER: c::c_uint = linux_raw_sys::general::BOTHER;
pub const CSIZE: c::c_uint = linux_raw_sys::general::CSIZE;
pub const CS5: c::c_uint = linux_raw_sys::general::CS5;
pub const CS6: c::c_uint = linux_raw_sys::general::CS6;
pub const CS7: c::c_uint = linux_raw_sys::general::CS7;
pub const CS8: c::c_uint = linux_raw_sys::general::CS8;
pub const CSTOPB: c::c_uint = linux_raw_sys::general::CSTOPB;
pub const CREAD: c::c_uint = linux_raw_sys::general::CREAD;
pub const PARENB: c::c_uint = linux_raw_sys::general::PARENB;
pub const PARODD: c::c_uint = linux_raw_sys::general::PARODD;
pub const HUPCL: c::c_uint = linux_raw_sys::general::HUPCL;
pub const CLOCAL: c::c_uint = linux_raw_sys::general::CLOCAL;
pub const ISIG: c::c_uint = linux_raw_sys::general::ISIG;
pub const ICANON: Tcflag = linux_raw_sys::general::ICANON;
pub const ECHO: c::c_uint = linux_raw_sys::general::ECHO;
pub const ECHOE: c::c_uint = linux_raw_sys::general::ECHOE;
pub const ECHOK: c::c_uint = linux_raw_sys::general::ECHOK;
pub const ECHONL: c::c_uint = linux_raw_sys::general::ECHONL;
pub const NOFLSH: c::c_uint = linux_raw_sys::general::NOFLSH;
pub const TOSTOP: c::c_uint = linux_raw_sys::general::TOSTOP;
pub const IEXTEN: c::c_uint = linux_raw_sys::general::IEXTEN;
pub const EXTA: c::c_uint = linux_raw_sys::general::EXTA;
pub const EXTB: c::c_uint = linux_raw_sys::general::EXTB;
pub const CBAUD: c::c_uint = linux_raw_sys::general::CBAUD;
pub const CBAUDEX: c::c_uint = linux_raw_sys::general::CBAUDEX;
pub const CIBAUD: c::c_uint = linux_raw_sys::general::CIBAUD;
pub const CMSPAR: c::c_uint = linux_raw_sys::general::CMSPAR;
pub const CRTSCTS: c::c_uint = linux_raw_sys::general::CRTSCTS;
pub const XCASE: c::c_uint = linux_raw_sys::general::XCASE;
pub const ECHOCTL: c::c_uint = linux_raw_sys::general::ECHOCTL;
pub const ECHOPRT: c::c_uint = linux_raw_sys::general::ECHOPRT;
pub const ECHOKE: c::c_uint = linux_raw_sys::general::ECHOKE;
pub const FLUSHO: c::c_uint = linux_raw_sys::general::FLUSHO;
pub const PENDIN: c::c_uint = linux_raw_sys::general::PENDIN;
pub const EXTPROC: c::c_uint = linux_raw_sys::general::EXTPROC;
pub const XTABS: c::c_uint = linux_raw_sys::general::XTABS;