home *** CD-ROM | disk | FTP | other *** search
/ rtsi.com / 2014.01.www.rtsi.com.tar / www.rtsi.com / OS9 / OSK / APPS / mnews.t.Z / mnews.t / news.h < prev    next >
C/C++ Source or Header  |  1990-04-17  |  1KB  |  52 lines

  1. extern char        *malloc ();
  2. extern char        *realloc ();
  3. extern int        os9forkc ();
  4.  
  5. extern int        errno;
  6. extern char        **environ;
  7.  
  8. # include        "../config.h"
  9.  
  10. # define FATAL        2
  11. # define TRUE        1
  12. # define FALSE        0
  13.  
  14. # define BATCHHEAD    "#! rnews"
  15. # define BATCHLEN    8
  16. # define COMHEAD    "#! cunbatch"
  17. # define COMLEN        11
  18. # define COM7HEAD    "#! c7unbatch"
  19. # define COM7LEN    12
  20.  
  21. # define NONE        0
  22. # define BATCH        1
  23. # define COM        2
  24. # define COM7        3
  25. # define DEL_ART    4
  26.  
  27. # define NEWSINPUT    "newsinput"
  28. # define INEWS        "inews"
  29. # define UNCOMPRESS    "uncompress"
  30. # define DECODE        "decode"
  31.  
  32. # define COMPRESS    "compress"
  33. # define ENCODE        "encode"
  34. # define UUX        "rnews.uux"
  35. # define UUX_DEFAULT    MNEWS_UUX
  36.  
  37. # define BATCHDIR    "NEWS.BATCH"
  38. # define DEF_BATCHDIR    MNEWS_BATCHDIR
  39. # define NEWSDIR    "NEWS.DIR"
  40. # define DEF_NEWSDIR    MNEWS_NEWSDIR
  41. # define BATCHSEQ    "rnews.seq"
  42. # define BATCHLOCK    "rnews.batch"
  43.  
  44. # define RNEWS_SPOOL    "RNEWS.DIR"
  45. # define RNEWS_SPOOLDIR    MNEWS_RNEWS_SPOOLDIR
  46. # define RNEWS_SPOOLSEQ    ".seq"
  47.  
  48. struct _systems {
  49.     char    name[20];
  50.     int    mark;
  51. };
  52.