home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Source Code 1993 July / THE_SOURCE_CODE_CD_ROM.iso / gnu / fax-3.2.1 / lib / libfax / tty.h < prev    next >
Encoding:
C/C++ Source or Header  |  1992-07-31  |  626 b   |  44 lines

  1. /*
  2.   ttyio.h
  3.  
  4.   (c) Copyright 1991 by David M. Siegel.
  5.       All rights reserved.
  6.  
  7.   %W% %G% %U%
  8. */
  9.  
  10. #ifndef in_libfax_tty_h
  11. #define in_libfax_tty_h 1
  12.  
  13. typedef enum {
  14.     FC_OUTPUT_ON,    /* allow modem to send ^S to stop computer */
  15.     FC_INPUT_ON,    /* allow computer to send ^S to stop modem */
  16.     FC_BOTH_ON,        /* both input and output flow control on   */
  17.     FC_BOTH_OFF,    /* no flow control on               */
  18. } fc_state;
  19.  
  20. /*
  21.   Prototypes:
  22. */
  23.  
  24. int tty_fc(
  25. #ifdef _PROTO
  26.      int fd,
  27.      fc_state state
  28. #endif
  29. );
  30.  
  31. int tty_open(
  32. #ifdef _PROTO
  33.      char *filename
  34. #endif
  35. );
  36.  
  37. int tty_close(
  38. #ifdef _PROTO
  39.      int fd
  40. #endif
  41. );
  42.  
  43. #endif
  44.