home *** CD-ROM | disk | FTP | other *** search
/ Dream 57 / Amiga_Dream_57.iso / Amiga / Programmation / c / QuakeC / qtools0.2-src.lha / src / libqsys / m68k / LZW5b.h next >
Encoding:
C/C++ Source or Header  |  1998-07-13  |  593 b   |  18 lines

  1. extern int LZWSCrunch(register int inlen __asm__("d0"),
  2.               register int outlen __asm__("d1"),
  3.               register int maxnodes __asm__("d2"),
  4.               register char *input __asm__("a0"),
  5.               register char *output __asm__("a1"));
  6. extern int LZWSDecrunch(register int outLen __asm__("d0"),
  7.             register char *input __asm__("a0"),
  8.             register char *output __asm__("a1"));
  9. extern int LZWSSize(register char *input __asm__("a0"));
  10.  
  11. #define    IDENTIFIER        0x4C5A                /* 'LZ' */
  12.  
  13. #define    NOERROR            1
  14. #define    ERROR            0
  15. #define    ERROR_NOTCRUNCHED    -1
  16. #define    ERROR_LESSMEM        -2
  17. #define    ERROR_OVERFLOW        -3
  18.