diff options
Diffstat (limited to 'include/linux/decompress')
| -rw-r--r-- | include/linux/decompress/unxz.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/include/linux/decompress/unxz.h b/include/linux/decompress/unxz.h new file mode 100644 index 000000000000..41728fc6c8a1 --- /dev/null +++ b/include/linux/decompress/unxz.h | |||
| @@ -0,0 +1,19 @@ | |||
| 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 | |||
| 10 | #ifndef DECOMPRESS_UNXZ_H | ||
| 11 | #define DECOMPRESS_UNXZ_H | ||
| 12 | |||
| 13 | int unxz(unsigned char *in, int in_size, | ||
| 14 | int (*fill)(void *dest, unsigned int size), | ||
| 15 | int (*flush)(void *src, unsigned int size), | ||
| 16 | unsigned char *out, int *in_used, | ||
| 17 | void (*error)(char *x)); | ||
| 18 | |||
| 19 | #endif | ||
