Parolin 0.7.9 6796
Console (soon DLLs) to do a tar like job
Loading...
Searching...
No Matches
xz_pipe_decomp.c File Reference
#include <stdio.h>
#include <stdint.h>
#include <inttypes.h>
#include <stdbool.h>
#include <lzma.h>

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 ()
 

Macro Definition Documentation

◆ IN_BUF_MAX

#define IN_BUF_MAX   4096

◆ OUT_BUF_MAX

#define OUT_BUF_MAX   4096

◆ RET_ERROR_DECOMPRESSION

#define RET_ERROR_DECOMPRESSION   4

◆ RET_ERROR_INIT

#define RET_ERROR_INIT   1

◆ RET_ERROR_INPUT

#define RET_ERROR_INPUT   2

◆ RET_ERROR_OUTPUT

#define RET_ERROR_OUTPUT   3

◆ RET_OK

#define RET_OK   0

Function Documentation

◆ main()

int main ( void )

◆ xz_decompress()

int xz_decompress ( FILE * in_file,
FILE * out_file )