Merge tag 'pci-v6.16-fixes-3' of git://git.kernel.org/pub/scm/linux/kernel/git/pci/pci
[linux-2.6-block.git] / include / linux / decompress / unxz.h
... / ...
CommitLineData
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
12int 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