#include <stdbool.h>
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <errno.h>
#include <lzma.h>
#include "compress.h"
Go to the source code of this file.
◆ compress()
static lzma_ret compress |
( |
lzma_stream * |
strm, |
|
|
FILE * |
infile, |
|
|
FILE * |
outfile |
|
) |
| |
|
static |
◆ compress_deflate()
enum compress_e compress_deflate |
( |
FILE * |
source, |
|
|
FILE * |
dest, |
|
|
int |
level |
|
) |
| |
◆ compress_inflate()
enum compress_e compress_inflate |
( |
FILE * |
source, |
|
|
FILE * |
dest |
|
) |
| |
◆ decompress()
static lzma_ret decompress |
( |
lzma_stream * |
strm, |
|
|
FILE * |
infile, |
|
|
FILE * |
outfile |
|
) |
| |
|
static |
◆ get_error_message()
static const char * get_error_message |
( |
lzma_ret |
ret | ) |
|
|
static |
◆ init_decoder()
static lzma_ret init_decoder |
( |
lzma_stream * |
strm | ) |
|
|
static |
◆ init_encoder()
static lzma_ret init_encoder |
( |
lzma_stream * |
strm, |
|
|
uint32_t |
preset |
|
) |
| |
|
static |