]>
git.saurik.com Git - wxWidgets.git/blob - utils/Install/packace/globals.c
1 /* ------------------------------------------------------------------------ */
3 /* Global variable declarations */
5 /* ------------------------------------------------------------------------ */
16 const char *acesign
= "**ACE**";
18 //-------- Version string for program
19 const char *version
="UNACE v1.1 public version\n";
22 //-------- Version string for VERSION program
23 static char *_version
="$VER: Unace Amiga 1.1 "__AMIGADATE__
"\n\n";
26 //-------- header buffer and pointers
29 tmhead
*t_mhead
= (tmhead
*) & head
;
30 tfhead
*t_fhead
= (tfhead
*) & head
;
38 //-------- decompressor variables
47 USHORT dcpr_code_mn
[1 << maxwd_mn
],
48 dcpr_code_lg
[1 << maxwd_lg
];
49 UCHAR dcpr_wd_mn
[maxcode
+ 2],
50 dcpr_wd_lg
[maxcode
+ 2],
57 dcpr_olddist
[4]={0,0,0,0},
63 USHORT sort_org
[maxcode
+ 2];
64 UCHAR sort_freq
[(maxcode
+ 2) * 2];
66 //-------- file handling
70 #if !defined(__EMX__) && !defined(__OS2__)
75 //-------- structures for archive handling
86 void resetglobals(void)
88 t_mhead
= (tmhead
*) & head
;
89 t_fhead
= (tfhead
*) & head
;
105 memset(&dcpr_code_mn
, 0, sizeof(dcpr_code_mn
));
106 memset(&dcpr_code_lg
, 0, sizeof(dcpr_code_lg
));
107 memset(&dcpr_wd_mn
, 0, sizeof(dcpr_wd_mn
));
108 memset(&dcpr_wd_lg
, 0, sizeof(dcpr_wd_lg
));
109 memset(&wd_svwd
, 0, sizeof(wd_svwd
));
116 memset(&dcpr_olddist
, 0, sizeof(dcpr_olddist
));
121 memset(&sort_org
, 0, sizeof(sort_org
));
122 memset(&sort_freq
, 0, sizeof(sort_freq
));