home *** CD-ROM | disk | FTP | other *** search
/ Technotools / Technotools (Chestnut CD-ROM)(1993).ISO / unix / arcunx11 / arc.sh1 / arc.h < prev    next >
Encoding:
C/C++ Source or Header  |  1987-04-01  |  2.1 KB  |  65 lines

  1. /*
  2.  *    arc.h    1.1
  3.  *
  4.  *    Author: Thom Henderson
  5.  *    Original System V port: Mike Stump
  6.  *    Enhancements, Bug fixes, and cleanup: Chris Seaman
  7.  *    Date: Fri Mar 20 09:57:02 1987
  8.  *    Last Mod.    3/21/87
  9.  *
  10.  */
  11.  
  12. /*
  13.  * ARC - Archive utility - ARC Header
  14.  * 
  15.  * Version 2.14, created on 02/03/86 at 22:48:29
  16.  * 
  17.  * (C) COPYRIGHT 1985 by System Enhancement Associates; ALL RIGHTS RESERVED
  18.  * 
  19.  *     Description: 
  20.  *          This is the header file for the ARC archive utility.  It defines
  21.  *          global parameters and the references to the external data.
  22.  */
  23.  
  24. #include <stdio.h>
  25. #include <signal.h>
  26. #include <ctype.h>
  27.  
  28. #define EXTERN
  29. #define INT short
  30.  
  31. #define ARCMARK 26              /* special archive marker */
  32. #define ARCVER 8                /* archive header version code */
  33. #define STRLEN 100              /* system standard string length */
  34. #define FNLEN1 15               /* file name length (UNIX) */
  35. #define FNLEN2 13               /* file name length (DOS) */
  36. #define MAXARG 25               /* maximum number of arguments */
  37.  
  38. /*
  39.  * include the header structure
  40.  * (dependent on previously defined constants)
  41.  */
  42.  
  43. #include "arcs.h"
  44.  
  45. EXTERN INT keepbak;             /* true if saving the old archive */
  46. EXTERN INT warn;                /* true to print warnings */
  47. EXTERN INT note;                /* true to print comments */
  48. EXTERN INT ibmpc;               /* true to make IBM compatibile */
  49. EXTERN INT bose;                /* true to be verbose */
  50. EXTERN INT nocomp;              /* true to suppress compression */
  51. EXTERN char arctemp[STRLEN];    /* arc temp file prefix */
  52. EXTERN char *password;          /* encryption password pointer */
  53. EXTERN INT nerrs;               /* number of errors encountered */
  54.  
  55. EXTERN char hdrver;             /* header version */
  56.  
  57. EXTERN FILE *arc;               /* the old archive */
  58. EXTERN FILE *new;               /* the new archive */
  59.  
  60. EXTERN char arcname[STRLEN];    /* storage for archive name */
  61. EXTERN char bakname[STRLEN];    /* storage for backup copy name */
  62. EXTERN char newname[STRLEN];    /* storage for new archive name */
  63. EXTERN unsigned INT arcdate;    /* archive date stamp */
  64. EXTERN unsigned INT arctime;    /* archive time stamp */
  65.