LzmaTools.h 1.2 KB

1234567891011121314151617181920212223242526272829303132333435
  1. /*
  2. * Usefuls routines based on the LzmaTest.c file from LZMA SDK 4.57
  3. *
  4. * Copyright (C) 2007-2008 Industrie Dial Face S.p.A.
  5. * Luigi 'Comio' Mantellini (luigi.mantellini@idf-hit.com)
  6. *
  7. * Copyright (C) 1999-2005 Igor Pavlov
  8. *
  9. * See file CREDITS for list of people who contributed to this
  10. * project.
  11. *
  12. * This program is free software; you can redistribute it and/or
  13. * modify it under the terms of the GNU General Public License as
  14. * published by the Free Software Foundation; either version 2 of
  15. * the License, or (at your option) any later version.
  16. *
  17. * This program is distributed in the hope that it will be useful,
  18. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  19. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  20. * GNU General Public License for more details.
  21. *
  22. * You should have received a copy of the GNU General Public License
  23. * along with this program; if not, write to the Free Software
  24. * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
  25. * MA 02111-1307 USA
  26. */
  27. #ifndef __LZMA_TOOL_H__
  28. #define __LZMA_TOOL_H__
  29. #include "LzmaTypes.h"
  30. extern int lzmaBuffToBuffDecompress (unsigned char *outStream, SizeT *uncompressedSize,
  31. unsigned char *inStream, SizeT length);
  32. #endif