home *** CD-ROM | disk | FTP | other *** search
/ Power-Programmierung / CD2.mdf / c / library / dos / communic / rsdrv / rsdrv.h < prev    next >
Encoding:
C/C++ Source or Header  |  1990-02-26  |  427 b   |  23 lines

  1. /* rsdrv.h */
  2.  
  3. /* define mode bits for rsinit() */
  4.  
  5. #define BITS_7      0x02
  6. #define BITS_8      0x03
  7.  
  8. #define PARITY_NONE 0x00
  9. #define PARITY_ODD  0x08
  10. #define PARITY_EVEN 0x18
  11.  
  12. #define STOP_1      0x00
  13. #define STOP_2      0x04
  14.  
  15.  
  16. /* function prototypes */
  17.  
  18. int rsputc(unsigned char c);
  19. int rsgetc(void);
  20. void rsbreak(int isbreak);
  21. int rsinit(int port, int speed, unsigned char pbyte);
  22. void rsend(void);
  23.