hbc-FIX94/wiipax/client/lzma.h
FIX94 4cf05be0ff
-changed a bunch to make it compile on windows (MSYS2)
-added wiiu gamepad compatibility when booting from wii vc with patched fw.img using libwiidrc
-removed upper file limit from wiiload (useful when used with wiiu homebrew launcher)
2017-10-08 01:59:33 +02:00

22 lines
407 B
C

#ifndef _LZMA_H_
#define _LZMA_H_
#include <sys/param.h>
#include "common.h"
#include "LzmaEnc.h"
typedef struct {
u32 len_in;
u32 len_out;
u8 props[LZMA_PROPS_SIZE];
u8 *data;
} lzma_t;
lzma_t *lzma_compress(const u8 *src, const u32 len);
void lzma_decode(const lzma_t *lzma, u8 *dst);
void lzma_write(const char *filename, const lzma_t *lzma);
void lzma_free(lzma_t *lzma);
#endif /* _LZMA_H_ */