diff options
author | james <> | 2008-02-13 16:57:29 +0000 |
---|---|---|
committer | james <> | 2008-02-13 16:57:29 +0000 |
commit | e32ce0cfdccf5240ae29ef06a13078ae37ee521a (patch) | |
tree | f036688b6831dd6fd288df03023950597987c031 /src/tty.c | |
parent | 23dc931ca671e938da071d24d8e9b6052e49923a (diff) | |
download | sympathy-e32ce0cfdccf5240ae29ef06a13078ae37ee521a.tar.gz sympathy-e32ce0cfdccf5240ae29ef06a13078ae37ee521a.tar.bz2 sympathy-e32ce0cfdccf5240ae29ef06a13078ae37ee521a.zip |
*** empty log message ***
Diffstat (limited to 'src/tty.c')
-rw-r--r-- | src/tty.c | 27 |
1 files changed, 27 insertions, 0 deletions
@@ -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 |