home *** CD-ROM | disk | FTP | other *** search
/ Amiga Format CD 28 / amigaformatcd28.iso / -seriously_amiga- / archivers / arcppc / src / rcs / arcdata.c,v < prev    next >
Text File  |  1998-04-23  |  5KB  |  240 lines

  1. head     1.7;
  2. branch   ;
  3. access   ;
  4. symbols  patch1:1.7;
  5. locks    ; strict;
  6. comment  @ * @;
  7.  
  8.  
  9. 1.7
  10. date     88.07.31.18.47.22;  author hyc;  state Exp;
  11. branches ;
  12. next     1.6;
  13.  
  14. 1.6
  15. date     88.06.01.19.17.58;  author hyc;  state Exp;
  16. branches ;
  17. next     1.5;
  18.  
  19. 1.5
  20. date     88.06.01.17.54.07;  author hyc;  state Exp;
  21. branches ;
  22. next     1.4;
  23.  
  24. 1.4
  25. date     88.06.01.15.21.14;  author hyc;  state Exp;
  26. branches ;
  27. next     1.3;
  28.  
  29. 1.3
  30. date     88.06.01.15.19.59;  author hyc;  state Exp;
  31. branches ;
  32. next     1.2;
  33.  
  34. 1.2
  35. date     88.04.11.17.53.03;  author hyc;  state Exp;
  36. branches ;
  37. next     1.1;
  38.  
  39. 1.1
  40. date     88.04.11.17.51.47;  author hyc;  state Exp;
  41. branches ;
  42. next     ;
  43.  
  44.  
  45. desc
  46. @@
  47.  
  48.  
  49. 1.7
  50. log
  51. @Set image mode as UNIX default, text as MTS default
  52. @
  53. text
  54. @/*
  55.  * $Header: arcdata.c,v 1.6 88/06/01 19:17:58 hyc Locked $
  56.  */
  57.  
  58. /*  ARC - Archive utility - ARCDATA
  59.  
  60.     Version 2.17, created on 04/22/87 at 13:09:43
  61.  
  62. (C) COPYRIGHT 1985,86 by System Enhancement Associates; ALL RIGHTS RESERVED
  63.  
  64.     By:     Thom Henderson
  65.  
  66.     Description: 
  67.      This file defines the external data storage used by the ARC
  68.      archive utility.
  69.  
  70.  
  71.     Language:
  72.      Computer Innovations Optimizing C86
  73. */
  74. #include <stdio.h>
  75.  
  76. #define DONT_DEFINE
  77. #include "arc.h"
  78.  
  79. int             keepbak = 0;    /* true if saving the old archive */
  80. #if    UNIX
  81. int        image = 1;    /* true to suppress CRLF/LF x-late */
  82. #endif
  83. #if    MTS
  84. int             image = 0;    /* true to suppress EBCDIC/ASCII x-late */
  85. char            sepchr[2] = ":";/* Shared file separator */
  86. char            tmpchr[2] = "-";/* Temporary file prefix */
  87. #endif
  88. #if    GEMDOS
  89. int        hold = 0;    /* true to pause before exit */
  90. #endif
  91. int             warn = 1;    /* true to print warnings */
  92. int             note = 1;    /* true to print comments */
  93. int             bose = 0;    /* true to be verbose */
  94. int             nocomp = 0;    /* true to suppress compression */
  95. int             overlay = 0;    /* true to overlay on extract */
  96. int             kludge = 0;    /* kludge flag */
  97. char           *arctemp = NULL;    /* arc temp file prefix */
  98. char           *password = NULL;/* encryption password pointer */
  99. int             nerrs = 0;    /* number of errors encountered */
  100. int        changing = 0;    /* true if archive being modified */
  101.  
  102. char            hdrver;        /* header version */
  103.  
  104. FILE           *arc;        /* the old archive */
  105. FILE           *new;        /* the new archive */
  106. char            arcname[STRLEN];    /* storage for archive name */
  107. char            bakname[STRLEN];    /* storage for backup copy name */
  108. char            newname[STRLEN];    /* storage for new archive name */
  109. unsigned short  arcdate = 0;    /* archive date stamp */
  110. unsigned short  arctime = 0;    /* archive time stamp */
  111. unsigned short  olddate = 0;    /* old archive date stamp */
  112. unsigned short  oldtime = 0;    /* old archive time stamp */
  113. int        dosquash = 0;    /* true to squash instead of crunch */
  114. @
  115.  
  116.  
  117. 1.6
  118. log
  119. @Change compilation conditionals
  120. @
  121. text
  122. @d2 1
  123. a2 1
  124.  * $Header: arcdata.c,v 1.5 88/06/01 17:54:07 hyc Locked $
  125. d27 2
  126. a28 2
  127. #if    !DOS
  128. int             image = 0;    /* true to suppress CRLF/LF x-late */
  129. d31 1
  130. @
  131.  
  132.  
  133. 1.5
  134. log
  135. @Merge ARC 5.21 changes
  136. @
  137. text
  138. @d2 1
  139. a2 1
  140.  * $Header: arcdata.c,v 1.4 88/06/01 15:21:14 hyc Locked $
  141. d27 1
  142. a27 1
  143. #ifndef    DOS
  144. d30 1
  145. a30 1
  146. #ifdef MTS
  147. d34 1
  148. a34 1
  149. #ifdef    GEMDOS
  150. @
  151.  
  152.  
  153. 1.4
  154. log
  155. @Merge Atari ST code
  156. @
  157. text
  158. @d2 1
  159. a2 1
  160.  * $Header: arcdata.c,v 1.3 88/06/01 15:19:59 hyc Locked $
  161. d5 16
  162. a20 15
  163. /*
  164.  * ARC - Archive utility - ARCDATA
  165.  * 
  166.  * Version 2.16, created on 10/24/86 at 14:54:17
  167.  * 
  168.  * (C) COPYRIGHT 1985,86 by System Enhancement Associates; ALL RIGHTS RESERVED
  169.  * 
  170.  * By:  Thom Henderson
  171.  * 
  172.  * Description: This file defines the external data storage used by the ARC
  173.  * archive utility.
  174.  * 
  175.  * 
  176.  * Language: Computer Innovations Optimizing C86
  177.  */
  178. d46 1
  179. @
  180.  
  181.  
  182. 1.3
  183. log
  184. @Fixed declarations
  185. @
  186. text
  187. @d2 1
  188. a2 1
  189.  * $Header: arcdata.c,v 1.2 88/04/17 18:41:34 hyc Exp $
  190. d26 1
  191. a26 1
  192. #ifndef    MSDOS
  193. d32 3
  194. @
  195.  
  196.  
  197. 1.2
  198. log
  199. @re-synch with MTS, add squashing support
  200. @
  201. text
  202. @d2 4
  203. d25 1
  204. a25 1
  205. INT             keepbak = 0;    /* true if saving the old archive */
  206. d27 1
  207. a27 1
  208. INT             image = 0;    /* true to suppress CRLF/LF x-late */
  209. d33 6
  210. a38 6
  211. INT             warn = 1;    /* true to print warnings */
  212. INT             note = 1;    /* true to print comments */
  213. INT             bose = 0;    /* true to be verbose */
  214. INT             nocomp = 0;    /* true to suppress compression */
  215. INT             overlay = 0;    /* true to overlay on extract */
  216. INT             kludge = 0;    /* kludge flag */
  217. d41 1
  218. a41 1
  219. INT             nerrs = 0;    /* number of errors encountered */
  220. d47 8
  221. a54 8
  222. char            arcname[100];    /* storage for archive name */
  223. char            bakname[100];    /* storage for backup copy name */
  224. char            newname[100];    /* storage for new archive name */
  225. unsigned INT    arcdate = 0;    /* archive date stamp */
  226. unsigned INT    arctime = 0;    /* archive time stamp */
  227. unsigned INT    olddate = 0;    /* old archive date stamp */
  228. unsigned INT    oldtime = 0;    /* old archive time stamp */
  229. INT        dosquash = 0;    /* true to squash instead of crunch */
  230. @
  231.  
  232.  
  233. 1.1
  234. log
  235. @Initial revision
  236. @
  237. text
  238. @d50 1
  239. @
  240.