File: ext_lzma.h

package info (click to toggle)
hashcat 6.1.1%2Bds1-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 37,556 kB
  • sloc: lisp: 476,904; ansic: 139,366; perl: 17,810; sh: 3,088; makefile: 584
file content (20 lines) | stat: -rw-r--r-- 582 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/**
 * Author......: See docs/credits.txt
 * License.....: MIT
 */

#ifndef _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