1
0
mirror of https://github.com/hashcat/hashcat.git synced 2024-11-27 02:18:21 +00:00
hashcat/include/ext_lzma.h
2020-10-23 17:29:39 +02:00

22 lines
602 B
C

/**
* Author......: See docs/credits.txt
* License.....: MIT
*/
#ifndef _EXT_LZMA_H
#define _EXT_LZMA_H
#include <LzmaDec.h>
#include <Lzma2Dec.h>
#include "minizip/ioapi.h"
#include "minizip/unzip.h"
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);
void *hc_lzma_alloc (MAYBE_UNUSED ISzAllocPtr p, size_t size);
void hc_lzma_free (MAYBE_UNUSED ISzAllocPtr p, void *address);
#endif // _EXT_LZMA_H