2017-01-24 09:28:35 +00:00
|
|
|
/**
|
|
|
|
* Author......: See docs/credits.txt
|
|
|
|
* License.....: MIT
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef _EXT_LZMA_H
|
|
|
|
|
2018-02-22 18:47:40 +00:00
|
|
|
#include <LzmaDec.h>
|
|
|
|
#include <Lzma2Dec.h>
|
2017-01-24 09:28:35 +00:00
|
|
|
|
2019-07-29 16:42:50 +00:00
|
|
|
#include "contrib/minizip/ioapi.h"
|
|
|
|
#include "contrib/minizip/unzip.h"
|
|
|
|
|
2017-01-24 09:28:35 +00:00
|
|
|
int hc_lzma1_decompress (const unsigned char *in, SizeT *in_len, unsigned char *out, SizeT *out_len, const char *props);
|
|
|
|
int hc_lzma2_decompress (const unsigned char *in, SizeT *in_len, unsigned char *out, SizeT *out_len, const char *props);
|
|
|
|
|
2017-11-07 11:27:27 +00:00
|
|
|
void *hc_lzma_alloc (MAYBE_UNUSED ISzAllocPtr p, size_t size);
|
|
|
|
void hc_lzma_free (MAYBE_UNUSED ISzAllocPtr p, void *address);
|
2017-01-24 09:28:35 +00:00
|
|
|
|
|
|
|
#endif // _EXT_LZMA_H
|