/*
* $Log$
+ * 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.3 2008/02/09 15:47:28 james
+ * *** empty log message ***
+ *
+ * Revision 1.2 2008/02/07 00:43:27 james
+ * *** empty log message ***
+ *
* Revision 1.1 2008/02/06 20:26:58 james
* *** empty log message ***
*
#ifndef __TTY_H__
#define __TTY_H__
-typedef struct {
- int fd;
+#define TTY_SIGNATURE \
+ char name[1024]; \
+ 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); \
+ int rfd; \
+ int wfd
+
+typedef struct TTY_struct
+{
+ TTY_SIGNATURE;
} TTY;
#endif /* __TTY_H__ */