consts.h
Upload User: andy_li
Upload Date: 2007-01-06
Package Size: 1019k
Code Size: 2k
Development Platform:

MultiPlatform

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