chiark / gitweb /
*** empty log message ***
[sympathy.git] / src / tty.c
index e38ee515902fac3f517a9258b4538093d36e522b..72b31a12f161cfe615255166559466a585aaeba2 100644 (file)
--- a/src/tty.c
+++ b/src/tty.c
@@ -10,6 +10,9 @@ static char rcsid[] = "$Id$";
 
 /*
  * $Log$
+ * Revision 1.5  2008/02/13 16:57:29  james
+ * *** empty log message ***
+ *
  * Revision 1.4  2008/02/12 22:36:46  james
  * *** empty log message ***
  *
@@ -17,3 +20,27 @@ static char rcsid[] = "$Id$";
  * *** empty log message ***
  *
  */
+
+
+
+
+void
+tty_pre_select (TTY * t, fd_set * rfds, fd_set * wfds)
+{
+  FD_SET (t->rfd, &rfds);
+}
+
+#if 0
+int
+tty_post_select (Context * c, fd_set * rfds, fd_set * wfds)
+{
+
+  if (FD_ISSET (c->t->rfd, rfds))
+    {
+      if (vt102_dispatch (&c))
+        return -1;
+    }
+  return 0;
+}
+
+#endif