home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 9 Archive / 09-Archive.zip / unzip52.zip / consts.h < prev    next >
C/C++ Source or Header  |  1996-01-10  |  2KB  |  44 lines

  1. /*---------------------------------------------------------------------------
  2.  
  3.   consts.h
  4.  
  5.   This file contains global, initialized variables that never change.  It is
  6.   included by unzip.c and wizunzip.c.
  7.  
  8.   ---------------------------------------------------------------------------*/
  9.  
  10.  
  11. /* And'ing with mask_bits[n] masks the lower n bits */
  12. 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. char Far VersionDate[] = VERSION_DATE;   /* now defined in version.h */
  19.  
  20. char Far CentSigMsg[] =
  21.   "error:  expected central file header signature not found (file #%u).\n";
  22. char Far EndSigMsg[] = "\nnote:\
  23.   didn't find end-of-central-dir signature at end of central dir.\n";
  24. char Far SeekMsg[] =
  25.   "error [%s]:  attempt to seek before beginning of zipfile\n%s";
  26. char Far FilenameNotMatched[] = "caution: filename not matched:  %s\n";
  27. char Far ExclFilenameNotMatched[] =
  28.   "caution: excluded filename not matched:  %s\n";
  29.  
  30. #ifdef VMS
  31.   char Far ReportMsg[] = "\
  32.   (please check that you have transferred or created the zipfile in the\n\
  33.   appropriate BINARY mode--this includes ftp, Kermit, AND unzip'd zipfiles)\n";
  34. #else
  35.   char Far ReportMsg[] = "\
  36.   (please check that you have transferred or created the zipfile in the\n\
  37.   appropriate BINARY mode and that you have compiled UnZip properly)\n";
  38. #endif
  39.  
  40. #ifndef SFX
  41.   char Far Zipnfo[] = "zipinfo";
  42.   char Far CompiledWith[] = "Compiled with %s%s for %s%s%s%s.\n\n";
  43. #endif
  44.