diff options
Diffstat (limited to 'private/windows/diamond/quantum/dcomp.h')
-rw-r--r-- | private/windows/diamond/quantum/dcomp.h | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/private/windows/diamond/quantum/dcomp.h b/private/windows/diamond/quantum/dcomp.h new file mode 100644 index 000000000..9877cfb64 --- /dev/null +++ b/private/windows/diamond/quantum/dcomp.h @@ -0,0 +1,32 @@ +// DCOMP.H +// +// Quantum file archiver and compressor +// Advanced data compression +// +// Copyright (c) 1993,1994 David Stafford +// All rights reserved. + +#ifndef __DCOMP +#define __DCOMP + +#include <stdio.h> +#include "defs.h" //msliger +#include "lz.h" + +int FAST DComp_Init( BYTE WindowBits ); //msliger +void FAST DComp_Close( void ); + +#ifndef UNPAQLIB //msliger +WORD FAST DComp_Decompress( FILE *OutputFile, long NumBytes ); +#endif //msliger + +#ifdef UNPAQLIB //msliger +WORD FAST DComp_DecompressBlock( void FAR *pbSrc, UINT cbSrc, //msliger + void FAR *pbDst, UINT cbDst ); //msliger +void FAST DComp_Reset( void ); //msliger +#endif //msliger + +extern void (FAST2 *DComp_Token_Match)( MATCH Match ); +extern void (FAST2 *DComp_Token_Literal)( int Chr ); + +#endif // dcomp.h |