aboutsummaryrefslogtreecommitdiffstats
path: root/src/tty.h
diff options
context:
space:
mode:
authorjames <>2008-02-23 11:49:23 +0000
committerjames <>2008-02-23 11:49:23 +0000
commitfc338d9b30500f311d9555545477e4ba1775b403 (patch)
treea860ad9af01332c74527e49bac77662af3e99f3b /src/tty.h
parent029a61812e82b58803c618ed53df42180106412f (diff)
downloadsympathy-fc338d9b30500f311d9555545477e4ba1775b403.tar.gz
sympathy-fc338d9b30500f311d9555545477e4ba1775b403.tar.bz2
sympathy-fc338d9b30500f311d9555545477e4ba1775b403.zip
*** empty log message ***
Diffstat (limited to 'src/tty.h')
-rw-r--r--src/tty.h15
1 files changed, 11 insertions, 4 deletions
diff --git a/src/tty.h b/src/tty.h
index 47b3cad..76f9fbb 100644
--- a/src/tty.h
+++ b/src/tty.h
@@ -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;