blob: f764e2a7201e35ce7d725254afdbb28c8664bab5 [file] [log] [blame]
Lasse Collin3ebe1242011-01-12 17:01:23 -08001/*
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
Yinghai Lud97b07c2014-08-08 14:23:14 -070013int unxz(unsigned char *in, long in_size,
14 long (*fill)(void *dest, unsigned long size),
15 long (*flush)(void *src, unsigned long size),
16 unsigned char *out, long *in_used,
Lasse Collin3ebe1242011-01-12 17:01:23 -080017 void (*error)(char *x));
18
19#endif