home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 January / usenetsourcesnewsgroupsinfomagicjanuary1994.iso / sources / misc / volume1 / 8707 / 64 / arc.h < prev    next >
Encoding:
C/C++ Source or Header  |  1990-07-13  |  2.3 KB  |  83 lines

  1. /*
  2.  * $Header: arc.h,v 1.2 86/07/15 07:52:34 turner Exp $
  3.  */
  4.  
  5. /*
  6.  * $Log:    arc.h,v $
  7.  * Hack-attack 1.3  86/12/20  01:23:45  wilhite@usceast.uucp
  8.  *     Bludgeoned into submission for VAX 11/780 BSD4.2
  9.  *    (ugly code, but fewer core dumps)
  10.  *
  11.  * Revision 1.2  86/07/15  07:52:34  turner
  12.  * 
  13.  * Revision 1.1  86/06/26  15:01:23  turner
  14.  * initial version
  15.  * 
  16.  */
  17.  
  18. #define    ST    0    /* Atari 520ST or 1040          */
  19. #define BSD    1    /* BSD4.2 on a vax         */
  20. #define MSDOS    0    /* MSDOS on an IBM PC or Wannabe */
  21.  
  22. #if ST
  23. #define EXTERN
  24. #define INT short
  25. #endif
  26.  
  27. #if BSD
  28. #include <ctype.h>    /* for isupper etc.                  */
  29. #define EXTERN
  30. #define INT short
  31. #define envfind getenv
  32. #endif
  33.  
  34. #if MSDOS
  35. #define EXTERN extern
  36. #define INT int
  37. #endif
  38.  
  39. /*
  40.  * added macro def's in C format 6/26/86 jmt 
  41.  */
  42. #include "arcm.h"
  43.  
  44. /*  ARC - Archive utility - ARC Header
  45.  
  46.     Version 2.14, created on 02/03/86 at 22:48:29
  47.  
  48. (C) COPYRIGHT 1985 by System Enhancement Associates; ALL RIGHTS RESERVED
  49.  
  50.     By:  Thom Henderson
  51.  
  52.     Description: 
  53.          This is the header file for the ARC archive utility.  It defines
  54.          global parameters and the references to the external data.
  55.  
  56.     Language:
  57.          Computer Innovations Optimizing C86
  58.  */
  59.  
  60. #include "arcs.h"
  61.  
  62. EXTERN INT keepbak;             /* true if saving the old archive */
  63. EXTERN INT warn;                /* true to print warnings */
  64. EXTERN INT note;                /* true to print comments */
  65. EXTERN INT bose;                /* true to be verbose */
  66. EXTERN INT nocomp;              /* true to suppress compression */
  67. EXTERN INT kludge;              /* kludge flag */
  68. EXTERN char arctemp[STRLEN];       /* arc temp file prefix */
  69. EXTERN char *password;          /* encryption password pointer */
  70. EXTERN INT nerrs;               /* number of errors encountered */
  71.  
  72. EXTERN char hdrver;                      /* header version */
  73.  
  74. EXTERN FILE *arc;                        /* the old archive */
  75. EXTERN FILE *new;                        /* the new archive */
  76.  
  77. EXTERN char arcname[STRLEN];           /* storage for archive name */
  78. EXTERN char bakname[STRLEN];           /* storage for backup copy name */
  79. EXTERN char newname[STRLEN];           /* storage for new archive name */
  80. EXTERN unsigned INT arcdate;    /* archive date stamp */
  81. EXTERN unsigned INT arctime;    /* archive time stamp */
  82. EXTERN int dosquash;
  83.