compress.h 397 B

12345678910111213141516
  1. /* SPDX-License-Identifier: GPL-2.0 */
  2. #ifndef PERF_COMPRESS_H
  3. #define PERF_COMPRESS_H
  4. #ifdef HAVE_ZLIB_SUPPORT
  5. int gzip_decompress_to_file(const char *input, int output_fd);
  6. bool gzip_is_compressed(const char *input);
  7. #endif
  8. #ifdef HAVE_LZMA_SUPPORT
  9. int lzma_decompress_to_file(const char *input, int output_fd);
  10. bool lzma_is_compressed(const char *input);
  11. #endif
  12. #endif /* PERF_COMPRESS_H */