]>
Commit | Line | Data |
---|---|---|
1 | /*--------------------------------------------------------------------------- | |
2 | ||
3 | consts.h | |
4 | ||
5 | This file contains global, initialized variables that never change. It is | |
6 | included by unzip.c and windll/windll.c. | |
7 | ||
8 | ---------------------------------------------------------------------------*/ | |
9 | ||
10 | ||
11 | /* And'ing with mask_bits[n] masks the lower n bits */ | |
12 | ZCONST ush near mask_bits[] = { | |
13 | 0x0000, | |
14 | 0x0001, 0x0003, 0x0007, 0x000f, 0x001f, 0x003f, 0x007f, 0x00ff, | |
15 | 0x01ff, 0x03ff, 0x07ff, 0x0fff, 0x1fff, 0x3fff, 0x7fff, 0xffff | |
16 | }; | |
17 | ||
18 | ZCONST char Far VersionDate[] = VERSION_DATE; /* now defined in version.h */ | |
19 | ||
20 | #ifndef SFX | |
21 | ZCONST char Far EndSigMsg[] = | |
22 | "\nnote: didn't find end-of-central-dir signature at end of central dir.\n"; | |
23 | #endif | |
24 | ||
25 | ZCONST char Far CentSigMsg[] = | |
26 | "error: expected central file header signature not found (file #%u).\n"; | |
27 | ZCONST char Far SeekMsg[] = | |
28 | "error [%s]: attempt to seek before beginning of zipfile\n%s"; | |
29 | ZCONST char Far FilenameNotMatched[] = "caution: filename not matched: %s\n"; | |
30 | ZCONST char Far ExclFilenameNotMatched[] = | |
31 | "caution: excluded filename not matched: %s\n"; | |
32 | ||
33 | #ifdef VMS | |
34 | ZCONST char Far ReportMsg[] = "\ | |
35 | (please check that you have transferred or created the zipfile in the\n\ | |
36 | appropriate BINARY mode--this includes ftp, Kermit, AND unzip'd zipfiles)\n"; | |
37 | #else | |
38 | ZCONST char Far ReportMsg[] = "\ | |
39 | (please check that you have transferred or created the zipfile in the\n\ | |
40 | appropriate BINARY mode and that you have compiled UnZip properly)\n"; | |
41 | #endif | |
42 | ||
43 | #ifndef SFX | |
44 | ZCONST char Far Zipnfo[] = "zipinfo"; | |
45 | ZCONST char Far CompiledWith[] = "Compiled with %s%s for %s%s%s%s.\n\n"; | |
46 | #endif |