Listing 1: A C interface to LZH-Light
LZHL_CHANDLE LZHLCreateCompressor( void ); size_t LZHLCompressorCalcMaxBuf( size_t ); size_t LZHLCompress( LZHL_CHANDLE, void* dst, void* src, size_t srcSz ); void LZHLDestroyCompressor( LZHL_CHANDLE ); LZHL_DHANDLE LZHLCreateDecompressor( void ); int LZHLDecompress( LZHL_DHANDLE, void* dst, size_t* dstSz, void* src, size_t* srcSz ); void LZHLDestroyDecompressor( LZHL_DHANDLE ); /* End of File */