unxz.h 499 B

12345678910111213141516171819
  1. /*
  2. * Wrapper for decompressing XZ-compressed kernel, initramfs, and initrd
  3. *
  4. * Author: Lasse Collin <lasse.collin@tukaani.org>
  5. *
  6. * This file has been put into the public domain.
  7. * You can do whatever you want with this file.
  8. */
  9. #ifndef DECOMPRESS_UNXZ_H
  10. #define DECOMPRESS_UNXZ_H
  11. int unxz(unsigned char *in, long in_size,
  12. long (*fill)(void *dest, unsigned long size),
  13. long (*flush)(void *src, unsigned long size),
  14. unsigned char *out, long *in_used,
  15. void (*error)(char *x));
  16. #endif