UNMANGLE.H 611 B

123456789101112131415161718
  1. /* Header File for unmangle decompression */
  2. #if !defined(__UNMANGLE_H)
  3. #define __UNMANGLE_H
  4. #define LOOKBACK 8196 // biggest lookback
  5. #define BLOCKSIZE 10240 // output block size (keep > LOOKBACK to avoid overlap copies)
  6. #define INPUTBLOCK 1024 // Size of the mangled data block to load
  7. extern long int UnMangleMemToMem(unsigned char *source, unsigned char *dest);
  8. extern long int UnMangleFileToMem(char *srcfile,unsigned char *dest);
  9. extern long int UnMangleFileToFile(char *srcfile,char *destfile);
  10. unsigned char *unmangleGet(unsigned long offset,unsigned long size);
  11. #endif /* __UNMANGLE_H */