home *** CD-ROM | disk | FTP | other *** search
/ rtsi.com / 2014.01.www.rtsi.com.tar / www.rtsi.com / OS9 / OSK / TELECOM / UUCP_Blars.lzh / host.h < prev    next >
Text File  |  1991-09-08  |  2KB  |  51 lines

  1. /* Host specific defines for uu and mail */
  2.  
  3. #include <setjmp.h>
  4. #include <errno.h>
  5. #include <ctype.h>
  6. #include <strings.h>
  7. #include <time.h>
  8. #include <modes.h>
  9.  
  10. #define mkdir mknod     /* create directory                             */
  11.  
  12. #define strchr  index
  13. #define strrchr rindex
  14. #define FILEMODE(f)     _gs_attr(f)
  15.  
  16. #define SEPCHAR         '/'     /* path separater character             */
  17. #define XQTFILE         "X."    /* prefix for execute files             */
  18. #define CALLFILE        "C.%s"  /* prefix for call files                */
  19. #define TFILENAME       "tmpXXXXXX"     /* template for temporary files */
  20. #define HOSTINIT        /* name of function used to initialize  */
  21.  
  22. #define NOFLOW          (0)             /* no flow control              */
  23.  
  24. #ifndef B19200
  25. #define B19200          (15)            /* 19200 baud                   */
  26. #define B9600           (14)            /* 9600 baud                    */
  27. #define B4800           (12)            /* 4800 baud                    */
  28. #define B2400           (10)            /* 2400 baud                    */
  29. #define B1200           (7)             /* 1200 baud                    */
  30. #define B300            (5)             /*  300 baud                    */
  31. #endif
  32.  
  33. /* misc. defines */
  34.  
  35. #ifndef TRUE
  36. #define FALSE           (0)
  37. #define TRUE            (-1)
  38. #endif
  39.  
  40. #define IBUFSIZ         (0x1000)
  41. #define OBUFSIZ         (0x1000)
  42.  
  43. #define remote _remote
  44.  
  45. #define SIG_DATAREADY 333
  46. #define SIG_CARRIER   334
  47.  
  48. #define D8S1NONE (0)    /* 8N1 */
  49.  
  50. extern int errno;
  51.