1 /* 2 Copyright (c) 1990-2001 Info-ZIP. All rights reserved. 3 4 See the accompanying file LICENSE, version 2000-Apr-09 or later 5 (the contents of which are also included in unzip.h) for terms of use. 6 If, for some reason, all these files are missing, the Info-ZIP license 7 also may be found at: ftp://ftp.info-zip.org/pub/infozip/license.html 8 */ 9 /*--------------------------------------------------------------------------- 10 11 consts.h 12 13 This file contains global, initialized variables that never change. It is 14 included by unzip.c and windll/windll.c. 15 16 ---------------------------------------------------------------------------*/ 17 18 19 /* And'ing with mask_bits[n] masks the lower n bits */ 20 ZCONST unsigned near mask_bits[17] = { 21 0x0000, 22 0x0001, 0x0003, 0x0007, 0x000f, 0x001f, 0x003f, 0x007f, 0x00ff, 23 0x01ff, 0x03ff, 0x07ff, 0x0fff, 0x1fff, 0x3fff, 0x7fff, 0xffff 24 }; 25 26 ZCONST char Far VersionDate[] = UZ_VERSION_DATE; /* now defined in unzvers.h */ 27 28 #ifndef SFX 29 ZCONST char Far EndSigMsg[] = 30 "\nnote: didn't find end-of-central-dir signature at end of central dir.\n"; 31 #endif 32 33 ZCONST char Far CentSigMsg[] = 34 "error: expected central file header signature not found (file #%lu).\n"; 35 ZCONST char Far SeekMsg[] = 36 "error [%s]: attempt to seek before beginning of zipfile\n%s"; 37 ZCONST char Far FilenameNotMatched[] = "caution: filename not matched: %s\n"; 38 ZCONST char Far ExclFilenameNotMatched[] = 39 "caution: excluded filename not matched: %s\n"; 40 41 #ifdef VMS 42 ZCONST char Far ReportMsg[] = "\ 43 (please check that you have transferred or created the zipfile in the\n\ 44 appropriate BINARY mode--this includes ftp, Kermit, AND unzip'd zipfiles)\n"; 45 #else 46 ZCONST char Far ReportMsg[] = "\ 47 (please check that you have transferred or created the zipfile in the\n\ 48 appropriate BINARY mode and that you have compiled UnZip properly)\n"; 49 #endif 50 51 #ifndef SFX 52 ZCONST char Far Zipnfo[] = "zipinfo"; 53 ZCONST char Far CompiledWith[] = "Compiled with %s%s for %s%s%s%s.\n\n"; 54 #endif 55