home *** CD-ROM | disk | FTP | other *** search
/ Frozen Fish 1: Amiga / FrozenFish-Apr94.iso / bbs / alib / d0xx / d050 / unixarc.lha / UnixArc / arc.h < prev    next >
Encoding:
C/C++ Source or Header  |  1987-01-17  |  2.4 KB  |  74 lines

  1. /*  ARC - Archive utility - ARC Header
  2.  
  3.     Version 2.14, created on 02/03/86 at 22:48:29
  4.  
  5. (C) COPYRIGHT 1985 by System Enhancement Associates; ALL RIGHTS RESERVED
  6.  
  7.     By:  Thom Henderson
  8.  
  9.     Description: 
  10.          This is the header file for the ARC archive utility.  It defines
  11.          global parameters and the references to the external data.
  12.  
  13.  
  14.     Language:
  15.          Computer Innovations Optimizing C86
  16. */
  17.  
  18. #ifdef SYS5
  19. #define index strchr
  20. #define rindex strrchr
  21. #endif SYS5
  22.  
  23. #if unix
  24. #define alloc xalloc
  25. #define realloc xrealloc
  26. #if m68000
  27. typedef long int int32_t;
  28. typedef short int int16_t;
  29. typedef unsigned short int uint16_t;
  30. #else    /* not m68000 */
  31. put apropriate typedefs here
  32. #endif m68000
  33. #else    /* not unix, assume C86 */
  34. typedef long int int32_t;
  35. typedef int int16_t;
  36. typedef unsigned int uint16_t;
  37. #endif unix
  38.  
  39. #define ARCMARK 26                     /* special archive marker */
  40. #define ARCVER 8                       /* archive header version code */
  41. #define STRLEN 100                     /* system standard string length */
  42. #define FNLEN 13                       /* file name length */
  43. #define MAXARG 25                      /* maximum number of arguments */
  44.  
  45. #include "arcs.h"
  46.  
  47. #ifndef MAIN
  48. #define EXTERN extern
  49. EXTERN char VERSION[];
  50. #else
  51. #define EXTERN /**/
  52. EXTERN char VERSION[] = "Version 5.12 created on 02/05/86 at 22:22:01";
  53. #endif MAIN
  54. EXTERN int keepbak;             /* true if saving the old archive */
  55. EXTERN int warn;                /* true to print warnings */
  56. EXTERN int note;                /* true to print comments */
  57. EXTERN int bose;                /* true to be verbose */
  58. EXTERN int nocomp;              /* true to suppress compression */
  59. EXTERN int kludge;              /* kludge flag */
  60. EXTERN char *arctemp;        /* arc temp file prefix */
  61. EXTERN char *password;       /* encryption password pointer */
  62. EXTERN int nerrs;               /* number of errors encountered */
  63.  
  64. EXTERN char hdrver;                      /* header version */
  65.  
  66. EXTERN FILE *arc;                        /* the old archive */
  67. EXTERN FILE *new;                        /* the new archive */
  68. EXTERN char arcname[100];           /* storage for archive name */
  69. EXTERN char bakname[100];           /* storage for backup copy name */
  70. EXTERN char newname[100];           /* storage for new archive name */
  71. EXTERN unsigned int arcdate;    /* archive date stamp */
  72. EXTERN unsigned int arctime;    /* archive time stamp */
  73.  
  74.