Initial commit

This commit is contained in:
Hector Martin
2016-11-23 14:35:12 +09:00
commit 5b1c4f85b6
296 changed files with 39925 additions and 0 deletions

20
wiipax/client/lzma.h Normal file
View File

@@ -0,0 +1,20 @@
#ifndef _LZMA_H_
#define _LZMA_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_ */