summaryrefslogtreecommitdiffstats
path: root/programs/lz4io.h
diff options
context:
space:
mode:
authorYann Collet <cyan@fb.com>2019-04-12 22:17:48 (GMT)
committerYann Collet <cyan@fb.com>2019-04-12 22:17:48 (GMT)
commite865a3e7ec36ca812d8ebb920796732eaceb5135 (patch)
tree4bd9ecfe987ac07006ac38d80b3e157ea2036d10 /programs/lz4io.h
parent2de183c92ad5dfe227f778dd5e727ef6995e09af (diff)
downloadlz4-e865a3e7ec36ca812d8ebb920796732eaceb5135.zip
lz4-e865a3e7ec36ca812d8ebb920796732eaceb5135.tar.gz
lz4-e865a3e7ec36ca812d8ebb920796732eaceb5135.tar.bz2
fixed lz4 -m -c
can compress multiple files into stdout
Diffstat (limited to 'programs/lz4io.h')
-rw-r--r--programs/lz4io.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/programs/lz4io.h b/programs/lz4io.h
index 0c28784..54d49be 100644
--- a/programs/lz4io.h
+++ b/programs/lz4io.h
@@ -57,13 +57,16 @@ typedef struct LZ4IO_prefs_s LZ4IO_prefs_t;
LZ4IO_prefs_t* LZ4IO_defaultPreferences(void);
void LZ4IO_freePreferences(LZ4IO_prefs_t* const prefs);
+
/* ************************************************** */
/* ****************** Functions ********************* */
/* ************************************************** */
+/* if output_filename == stdoutmark, writes to stdout */
int LZ4IO_compressFilename(LZ4IO_prefs_t* const prefs, const char* input_filename, const char* output_filename, int compressionlevel);
int LZ4IO_decompressFilename(LZ4IO_prefs_t* const prefs, const char* input_filename, const char* output_filename);
+/* if suffix == stdoutmark, writes to stdout */
int LZ4IO_compressMultipleFilenames(LZ4IO_prefs_t* const prefs, const char** inFileNamesTable, int ifntSize, const char* suffix, int compressionlevel);
int LZ4IO_decompressMultipleFilenames(LZ4IO_prefs_t* const prefs, const char** inFileNamesTable, int ifntSize, const char* suffix);