option-tester: Add many changes
[ntpsec.git] / include / ntp_tty.h
bloba426340de6ab0f1ba691a4323ddc87402d5029fe
1 /*
2 * ntp_tty.h - header file for serial lines handling
3 */
4 #ifndef GUARD_NTP_TTY_H
5 #define GUARD_NTP_TTY_H
7 /*
8 * use only one tty model - no use in initialising
9 * a tty in three ways
10 * only use HAVE_TERMIOS as it is POSIX-1:2001
13 #include <termios.h>
15 #if defined(HAVE_SYS_MODEM_H)
16 #include <sys/modem.h>
17 #endif
20 * Line discipline flags.
22 #define LDISC_STD 0x000 /* standard */
23 #define LDISC_RAW 0x020 /* raw binary */
24 #define LDISC_7O1 0x100 /* 7-bit odd parity for Z3801A */
25 #define LDISC_REMOTE 0x080 /* remote mode */
27 #endif /* GUARD_NTP_TTY_H */