lib: zstd: Add decompress_sources.h for decompress_unzstd
authorNick Terrell <terrelln@fb.com>
Mon, 14 Sep 2020 19:54:12 +0000 (12:54 -0700)
committerNick Terrell <terrelln@fb.com>
Tue, 9 Nov 2021 00:55:26 +0000 (16:55 -0800)
commit2479b523898633768e28796238534af31fbd6846
tree42bccd27859f0f6d4bdd44b9785bbcaddeb11177
parentcf30f6a5f0c60ec98a637b836bef6915f602c6ab
lib: zstd: Add decompress_sources.h for decompress_unzstd

Adds decompress_sources.h which includes every .c file necessary for
zstd decompression. This is used in decompress_unzstd.c so the internal
structure of the library isn't exposed.

This allows us to upgrade the zstd library version without modifying any
callers. Instead we just need to update decompress_sources.h.

Signed-off-by: Nick Terrell <terrelln@fb.com>
Tested By: Paul Jones <paul@pauljones.id.au>
Tested-by: Oleksandr Natalenko <oleksandr@natalenko.name>
Tested-by: Sedat Dilek <sedat.dilek@gmail.com> # LLVM/Clang v13.0.0 on x86-64
Tested-by: Jean-Denis Girard <jd.girard@sysnux.pf>
lib/decompress_unzstd.c
lib/zstd/decompress_sources.h [new file with mode: 0644]