Rizin
unix-like reverse engineering framework and cli tools
|
Go to the source code of this file.
Macros | |
#define | IN_BUF_MAX 4096 |
#define | OUT_BUF_MAX 4096 |
#define | RET_OK 0 |
#define | RET_ERROR_INIT 1 |
#define | RET_ERROR_INPUT 2 |
#define | RET_ERROR_OUTPUT 3 |
#define | RET_ERROR_DECOMPRESSION 4 |
Functions | |
int | xz_decompress (FILE *in_file, FILE *out_file) |
int | main () |
#define IN_BUF_MAX 4096 |
Definition at line 23 of file xz_pipe_decomp.c.
#define OUT_BUF_MAX 4096 |
Definition at line 24 of file xz_pipe_decomp.c.
#define RET_ERROR_DECOMPRESSION 4 |
Definition at line 31 of file xz_pipe_decomp.c.
#define RET_ERROR_INIT 1 |
Definition at line 28 of file xz_pipe_decomp.c.
#define RET_ERROR_INPUT 2 |
Definition at line 29 of file xz_pipe_decomp.c.
#define RET_ERROR_OUTPUT 3 |
Definition at line 30 of file xz_pipe_decomp.c.
#define RET_OK 0 |
Definition at line 27 of file xz_pipe_decomp.c.
int main | ( | void | ) |
int xz_decompress | ( | FILE * | in_file, |
FILE * | out_file | ||
) |
Definition at line 35 of file xz_pipe_decomp.c.
References test-lz4-speed::action, lzma_stream::avail_in, lzma_stream::avail_out, flags, in_buf, IN_BUF_MAX, LZMA_CONCATENATED, LZMA_FINISH, LZMA_OK, LZMA_RUN, LZMA_STREAM_END, LZMA_STREAM_INIT, LZMA_TELL_UNSUPPORTED_CHECK, lzma_stream::next_in, lzma_stream::next_out, out_buf, OUT_BUF_MAX, RET_ERROR_DECOMPRESSION, RET_ERROR_INIT, RET_ERROR_INPUT, RET_ERROR_OUTPUT, RET_OK, strm, and UINT64_MAX.
Referenced by main().