home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 9 Archive / 09-Archive.zip / unzip511.zip / zip.h < prev    next >
C/C++ Source or Header  |  1994-04-26  |  442b  |  19 lines

  1. /* This is a dummy zip.h to allow crypt.c from Zip to compile for UnZip */
  2.  
  3. #ifndef __zip_h   /* don't include more than once */
  4. #define __zip_h
  5.  
  6. #include "unzip.h"
  7.  
  8. #define decrypt_member decrypt  /* for compatibility with zcrypt20 */
  9. #define local static
  10. #define CRC32(c, b)    (crc_32_tab[((int)(c) ^ (b)) & 0xff] ^ ((c) >> 8))
  11.  
  12. #ifdef FUNZIP
  13.    extern ulg near crc_32_tab[];
  14. #else
  15.    extern ulg *crc_32_tab;
  16. #endif
  17.  
  18. #endif /* !__zip_h */
  19.