diff options
author | gabrielstedman <gabriwinter@gmail.com> | 2019-04-22 08:58:26 (GMT) |
---|---|---|
committer | gabrielstedman <gabriwinter@gmail.com> | 2019-04-22 09:02:46 (GMT) |
commit | 0acebbe53dd1b15071f2c48a7b060299b5d03622 (patch) | |
tree | b5e09fc4253f29d6468358a4350c2b69fe4ac46a /lib/lz4frame.h | |
parent | 9d0960c354c9018957856334b1901bd693efe995 (diff) | |
download | lz4-0acebbe53dd1b15071f2c48a7b060299b5d03622.zip lz4-0acebbe53dd1b15071f2c48a7b060299b5d03622.tar.gz lz4-0acebbe53dd1b15071f2c48a7b060299b5d03622.tar.bz2 |
FR #598 - Move LZ4F_compFileInfo_t def to lz4frame.h discard output_file
assert if in om_list mode
Diffstat (limited to 'lib/lz4frame.h')
-rw-r--r-- | lib/lz4frame.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/lz4frame.h b/lib/lz4frame.h index 742c252..5945647 100644 --- a/lib/lz4frame.h +++ b/lib/lz4frame.h @@ -193,6 +193,13 @@ typedef struct { #define LZ4F_INIT_PREFERENCES { LZ4F_INIT_FRAMEINFO, 0, 0u, 0u, { 0u, 0u, 0u } } /* v1.8.3+ */ +typedef struct { + LZ4F_frameInfo_t frameInfo; + const char* fileName; + unsigned long fileSize; +} LZ4F_compFileInfo_t; + +#define LZ4F_INIT_FILEINFO { (LZ4F_frameInfo_t) LZ4F_INIT_FRAMEINFO, NULL, 0UL } /*-********************************* * Simple compression function |