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 / read.h < prev    next >
Encoding:
C/C++ Source or Header  |  1992-07-31  |  739 b   |  68 lines

  1. /*
  2.   read.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_read_h
  11. #define in_libfax_read_h 1
  12.  
  13. /*
  14.   Prototypes:
  15. */
  16.  
  17. int tread(
  18. #ifdef _PROTO
  19.      int fd,
  20.      char *buf,
  21.      int bufsize,
  22.      int timeout
  23. #endif
  24. );
  25.  
  26. int pread(
  27. #ifdef _PROTO
  28.      int fd,
  29.      char *buf,
  30.      int bufsize
  31. #endif
  32. );
  33.  
  34. int fdgets(
  35. #ifdef _PROTO
  36.      int fd,
  37.      char *buf,
  38.      int bufsize
  39. #endif
  40. );
  41.  
  42. int tfdgets(
  43. #ifdef _PROTO
  44.      int fd,
  45.      char *buf,
  46.      int bufsize,
  47.      int timeout
  48. #endif
  49. );
  50.  
  51. int wait_for_char(
  52. #ifdef _PROTO
  53.      int fd,
  54.      char c_expect,
  55.      int timeout
  56. #endif
  57. );
  58.  
  59. int wait_for_string(
  60. #ifdef _PROTO
  61.      int fd,
  62.      char *s_expect,
  63.      int timeout
  64. #endif
  65. );
  66.  
  67. #endif
  68.