LMMS
Loading...
Searching...
No Matches
consts.h
Go to the documentation of this file.
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 */
20ZCONST 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
26ZCONST char Far VersionDate[] = UZ_VERSION_DATE; /* now defined in unzvers.h */
27
28#ifndef SFX
30 "\nnote: didn't find end-of-central-dir signature at end of central dir.\n";
31#endif
32
34 "error: expected central file header signature not found (file #%lu).\n";
36 "error [%s]: attempt to seek before beginning of zipfile\n%s";
37ZCONST char Far FilenameNotMatched[] = "caution: filename not matched: %s\n";
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
#define ZCONST
Definition crc32.h:25
ZCONST char Far CompiledWith[]
Definition consts.h:53
ZCONST unsigned near mask_bits[17]
Definition consts.h:20
ZCONST char Far ReportMsg[]
Definition consts.h:46
ZCONST char Far CentSigMsg[]
Definition consts.h:33
ZCONST char Far ExclFilenameNotMatched[]
Definition consts.h:38
ZCONST char Far VersionDate[]
Definition consts.h:26
ZCONST char Far EndSigMsg[]
Definition consts.h:29
ZCONST char Far FilenameNotMatched[]
Definition consts.h:37
ZCONST char Far SeekMsg[]
Definition consts.h:35
ZCONST char Far Zipnfo[]
Definition consts.h:52
#define near
Definition unzpriv.h:901
#define Far
Definition unzpriv.h:1030
#define UZ_VERSION_DATE
Definition unzvers.h:25