aboutsummaryrefslogtreecommitdiffstats
path: root/src/tty.h
diff options
context:
space:
mode:
authorjames <>2008-02-22 23:39:30 +0000
committerjames <>2008-02-22 23:39:30 +0000
commit029a61812e82b58803c618ed53df42180106412f (patch)
treea35826fd1212f55fb0693dac8ebfeee0b6e35180 /src/tty.h
parent22301df1f4af5937bf96cb85091d5220d206d9bc (diff)
downloadsympathy-029a61812e82b58803c618ed53df42180106412f.tar.gz
sympathy-029a61812e82b58803c618ed53df42180106412f.tar.bz2
sympathy-029a61812e82b58803c618ed53df42180106412f.zip
*** empty log message ***
Diffstat (limited to 'src/tty.h')
-rw-r--r--src/tty.h20
1 files changed, 18 insertions, 2 deletions
diff --git a/src/tty.h b/src/tty.h
index 5585a02..47b3cad 100644
--- a/src/tty.h
+++ b/src/tty.h
@@ -12,6 +12,9 @@
/*
* $Log$
+ * Revision 1.10 2008/02/22 23:39:27 james
+ * *** empty log message ***
+ *
* Revision 1.9 2008/02/22 19:12:05 james
* *** empty log message ***
*
@@ -57,14 +60,27 @@
int rfd; \
int wfd; \
int hanging_up; \
- struct timeval hangup_clock
+ struct timeval hangup_clock; \
+ TTY_Parser parser;
+
+
+typedef struct
+{
+ int in_dle;
+ int in_errmark;
+
+ int bitfreq[8];
+ int biterrs;
+} TTY_Parser;
+
typedef struct TTY_struct
{
TTY_SIGNATURE;
} TTY;
-typedef struct {
+typedef struct
+{
int lines;
int blocked;
struct termios termios;