home *** CD-ROM | disk | FTP | other *** search
/ The Unsorted BBS Collection / thegreatunsorted.tar / thegreatunsorted / misc / dr.str / Source / SerialI_O.h < prev    next >
Encoding:
C/C++ Source or Header  |  1993-02-06  |  463 b   |  15 lines

  1. /*** Constant Definitions ***/
  2.  
  3. #define BUFSIZE            1000        /* Size of serial port buffer (arbitrary) */
  4.  
  5. #define PORTIN            "\p.AIn"    /* Modem port. Replace with "\p.Bin" and */
  6. #define PORTOUT            "\p.AOut"    /* "\p.Bout" for the Mac printer port.   */
  7.  
  8. /*** Function Prototypes ***/
  9.  
  10. void    CloseSerial(void);
  11. Boolean ChangeSettings(int configuration);
  12. Boolean OpenSerial(int configuration);
  13. long    GetSerial(char *buffer);
  14. OSErr   PutSerial(char *buffer, long bytes);
  15.