diff options
Diffstat (limited to 'src/tty.h')
-rw-r--r-- | src/tty.h | 15 |
1 files changed, 11 insertions, 4 deletions
@@ -12,6 +12,9 @@ /* * $Log$ + * Revision 1.11 2008/02/23 11:48:37 james + * *** empty log message *** + * * Revision 1.10 2008/02/22 23:39:27 james * *** empty log message *** * @@ -60,17 +63,21 @@ int rfd; \ int wfd; \ int hanging_up; \ - struct timeval hangup_clock; \ - TTY_Parser parser; - + struct timeval hangup_clock; + + +#define TTY_BITFREQ_LEN 10 typedef struct { int in_dle; int in_errmark; - int bitfreq[8]; + int bitfreq[TTY_BITFREQ_LEN]; int biterrs; + + struct timeval lasterr; + int guessed_baud; } TTY_Parser; |