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