home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 9 Archive / 09-Archive.zip / unzip51.zip / zip.h < prev    next >
C/C++ Source or Header  |  1993-12-06  |  385b  |  15 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. extern ulg near crc_32_tab[];
  13.  
  14. #endif /* !__zip_h */
  15.