3dd2658a9dabfcf04a0d57ba118b931c7cddd079
[linux-2.6-block.git] / include / linux / decompress / unxz.h
1 /* SPDX-License-Identifier: 0BSD */
2
3 /*
4  * Wrapper for decompressing XZ-compressed kernel, initramfs, and initrd
5  *
6  * Author: Lasse Collin <lasse.collin@tukaani.org>
7  */
8
9 #ifndef DECOMPRESS_UNXZ_H
10 #define DECOMPRESS_UNXZ_H
11
12 int unxz(unsigned char *in, long in_size,
13          long (*fill)(void *dest, unsigned long size),
14          long (*flush)(void *src, unsigned long size),
15          unsigned char *out, long *in_used,
16          void (*error)(char *x));
17
18 #endif