summaryrefslogtreecommitdiffstats
path: root/lib/lz4frame.h
diff options
context:
space:
mode:
authorYann Collet <Cyan4973@users.noreply.github.com>2019-04-22 19:19:28 (GMT)
committerGitHub <noreply@github.com>2019-04-22 19:19:28 (GMT)
commit4ae437c98e8674b7e425e1bf61b9f8e0ff1989bd (patch)
treed78eba7983ce57993c028c3219003b54556dd5e8 /lib/lz4frame.h
parent15af05ffce8c4dfd441b9e42545d923321ce4dd8 (diff)
parent84f978a2f3a787c7646ab3773fa7c41bddbb849e (diff)
downloadlz4-4ae437c98e8674b7e425e1bf61b9f8e0ff1989bd.zip
lz4-4ae437c98e8674b7e425e1bf61b9f8e0ff1989bd.tar.gz
lz4-4ae437c98e8674b7e425e1bf61b9f8e0ff1989bd.tar.bz2
Merge pull request #690 from gabrielstedman/dev
Implement --list
Diffstat (limited to 'lib/lz4frame.h')
-rw-r--r--lib/lz4frame.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/lz4frame.h b/lib/lz4frame.h
index 742c252..8c07e86 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 long fileSize;
+} LZ4F_compFileInfo_t;
+
+#define LZ4F_INIT_FILEINFO { (LZ4F_frameInfo_t) LZ4F_INIT_FRAMEINFO, NULL, 0ULL }
/*-*********************************
* Simple compression function