home *** CD-ROM | disk | FTP | other *** search
/ Stars of Shareware: Programmierung / SOURCE.mdf / programm / msdos / c / unz51 / zip.h < prev    next >
Encoding:
C/C++ Source or Header  |  1993-12-06  |  385 b   |  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.