LzmaTools.h 498 B

123456789101112131415161718
  1. /* SPDX-License-Identifier: GPL-2.0+ */
  2. /*
  3. * Usefuls routines based on the LzmaTest.c file from LZMA SDK 4.65
  4. *
  5. * Copyright (C) 2007-2008 Industrie Dial Face S.p.A.
  6. * Luigi 'Comio' Mantellini (luigi.mantellini@idf-hit.com)
  7. *
  8. * Copyright (C) 1999-2005 Igor Pavlov
  9. */
  10. #ifndef __LZMA_TOOL_H__
  11. #define __LZMA_TOOL_H__
  12. #include <lzma/LzmaTypes.h>
  13. extern int lzmaBuffToBuffDecompress (unsigned char *outStream, SizeT *uncompressedSize,
  14. unsigned char *inStream, SizeT length);
  15. #endif