chiark
/
gitweb
/
~ianmdlvl
/
sympathy.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
*** empty log message ***
[sympathy.git]
/
src
/
tty.h
diff --git
a/src/tty.h
b/src/tty.h
index 76e2803aede7def04a341ef6972de51a856da2fb..9b73c9c1497057053390797157c740540306d304 100644
(file)
--- a/
src/tty.h
+++ b/
src/tty.h
@@
-12,6
+12,15
@@
/*
* $Log$
/*
* $Log$
+ * Revision 1.7 2008/02/14 10:36:18 james
+ * *** empty log message ***
+ *
+ * Revision 1.6 2008/02/14 10:34:30 james
+ * *** empty log message ***
+ *
+ * Revision 1.5 2008/02/13 09:12:21 james
+ * *** empty log message ***
+ *
* Revision 1.4 2008/02/13 01:08:18 james
* *** empty log message ***
*
* Revision 1.4 2008/02/13 01:08:18 james
* *** empty log message ***
*
@@
-31,7
+40,8
@@
#define TTY_SIGNATURE \
char name[1024]; \
#define TTY_SIGNATURE \
char name[1024]; \
- CRT_POS size; \
+ int blocked; \
+ CRT_Pos size; \
void (*close)(struct TTY_struct *); \
int (*recv)(struct TTY_struct *,void *buf,int len); \
int (*xmit)(struct TTY_struct *,void *buf,int len); \
void (*close)(struct TTY_struct *); \
int (*recv)(struct TTY_struct *,void *buf,int len); \
int (*xmit)(struct TTY_struct *,void *buf,int len); \
@@
-43,4
+53,11
@@
typedef struct TTY_struct
TTY_SIGNATURE;
} TTY;
TTY_SIGNATURE;
} TTY;
+typedef struct {
+ int lines;
+ int blocked;
+ struct termios termios;
+ int baud;
+} TTY_Status;
+
#endif /* __TTY_H__ */
#endif /* __TTY_H__ */