/include/linux/decompress/unxz.h

https://github.com/airy09/android_kernel_sony_apq8064 · C Header · 19 lines · 8 code · 3 blank · 8 comment · 0 complexity · 6caad38ccb44e18b62e9a60b9c37fe3b MD5 · raw file

  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, int in_size,
  12. int (*fill)(void *dest, unsigned int size),
  13. int (*flush)(void *src, unsigned int size),
  14. unsigned char *out, int *in_used,
  15. void (*error)(char *x));
  16. #endif