xref: /linux/tools/perf/util/compress.h (revision ef69f8d2ff09518657c3ecaf2db8408c16549829)
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef PERF_COMPRESS_H
3 #define PERF_COMPRESS_H
4 
5 #ifdef HAVE_ZLIB_SUPPORT
6 int gzip_decompress_to_file(const char *input, int output_fd);
7 #endif
8 
9 #ifdef HAVE_LZMA_SUPPORT
10 int lzma_decompress_to_file(const char *input, int output_fd);
11 #endif
12 
13 #endif /* PERF_COMPRESS_H */
14