![]() |
Parolin 0.7.9 6796
Console (soon DLLs) to do a tar like job
|
#include "platform.h"
#include "util.h"
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "lz4conf.h"
#include "bench.h"
#include "lz4io.h"
#include "lz4hc.h"
#include "lz4.h"
Macros | |
#define | IO_MT "single-thread" |
#define | COMPRESSOR_NAME "lz4" |
#define | AUTHOR "Yann Collet" |
#define | WELCOME_MESSAGE "*** %s v%s %i-bit %s, by %s ***\n", COMPRESSOR_NAME, LZ4_versionString(), (int)(sizeof(void*)*8), IO_MT, AUTHOR |
#define | LZ4_EXTENSION ".lz4" |
#define | LZ4CAT "lz4cat" |
#define | UNLZ4 "unlz4" |
#define | LZ4_LEGACY "lz4c" |
#define | KB *(1U<<10) |
#define | MB *(1U<<20) |
#define | GB *(1U<<30) |
#define | DISPLAYOUT(...) |
#define | DISPLAY(...) |
#define | DISPLAYLEVEL(l, ...) |
#define | DEBUG 0 |
#define | DEBUGOUTPUT(...) |
#define | END_PROCESS(error, ...) |
#define | DEFAULT_COMPRESSOR LZ4IO_compressFilename |
#define | DEFAULT_DECOMPRESSOR LZ4IO_decompressFilename |
#define | CLEAN_RETURN(i) |
#define | NEXT_FIELD(ptr) |
#define | NEXT_UINT32(val32) |
#define | ENV_NBTHREADS "LZ4_NBWORKERS" |
#define | ENV_CLEVEL "LZ4_CLEVEL" |
Enumerations | |
enum | operationMode_e { om_auto , om_compress , om_decompress , om_test , om_bench , om_list } |
Functions | |
int | LZ4IO_compressFilename_Legacy (const char *input_filename, const char *output_filename, int compressionlevel, const LZ4IO_prefs_t *prefs) |
int | LZ4IO_compressMultipleFilenames_Legacy (const char **inFileNamesTable, int ifntSize, const char *suffix, int compressionLevel, const LZ4IO_prefs_t *prefs) |
int | main (int argCount, const char **argv) |
#define AUTHOR "Yann Collet" |
#define CLEAN_RETURN | ( | i | ) |
#define COMPRESSOR_NAME "lz4" |
#define DEBUG 0 |
#define DEBUGOUTPUT | ( | ... | ) |
#define DEFAULT_COMPRESSOR LZ4IO_compressFilename |
#define DEFAULT_DECOMPRESSOR LZ4IO_decompressFilename |
#define DISPLAY | ( | ... | ) |
#define DISPLAYLEVEL | ( | l, | |
... ) |
#define DISPLAYOUT | ( | ... | ) |
#define END_PROCESS | ( | error, | |
... ) |
#define ENV_CLEVEL "LZ4_CLEVEL" |
#define ENV_NBTHREADS "LZ4_NBWORKERS" |
#define GB *(1U<<30) |
#define IO_MT "single-thread" |
#define KB *(1U<<10) |
#define LZ4_EXTENSION ".lz4" |
#define LZ4_LEGACY "lz4c" |
#define LZ4CAT "lz4cat" |
#define MB *(1U<<20) |
#define NEXT_FIELD | ( | ptr | ) |
#define NEXT_UINT32 | ( | val32 | ) |
#define UNLZ4 "unlz4" |
#define WELCOME_MESSAGE "*** %s v%s %i-bit %s, by %s ***\n", COMPRESSOR_NAME, LZ4_versionString(), (int)(sizeof(void*)*8), IO_MT, AUTHOR |
enum operationMode_e |
int LZ4IO_compressFilename_Legacy | ( | const char * | input_filename, |
const char * | output_filename, | ||
int | compressionlevel, | ||
const LZ4IO_prefs_t * | prefs ) |
int LZ4IO_compressMultipleFilenames_Legacy | ( | const char ** | inFileNamesTable, |
int | ifntSize, | ||
const char * | suffix, | ||
int | compressionLevel, | ||
const LZ4IO_prefs_t * | prefs ) |