home *** CD-ROM | disk | FTP | other *** search
/ HAM Radio 1 / HamRadio.cdr / misc / tcpipsrc / tty.h < prev    next >
Text File  |  1990-11-10  |  414b  |  22 lines

  1. #ifndef    _TTY_H
  2. #define    _TTY_H
  3.  
  4. #ifndef    _MBUF_H
  5. #include "mbuf.h"
  6. #endif
  7.  
  8. #ifndef _SESSION_H
  9. #include "session.h"
  10. #endif
  11.  
  12. /* In ttydriv.c: */
  13. struct mbuf *ttydriv __ARGS((struct session *sp,char c));
  14.  
  15. struct ttystate {
  16.     struct mbuf *line;    /* Line buffer */
  17.     int echo;        /* Keyboard local echoing? */
  18.     int edit;        /* Local editing? */
  19.     int crnl;        /* Translate cr to lf? */
  20. };
  21. #endif /* _TTY_H */
  22.