Merge tag 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost
[cris-mirror.git] / include / linux / decompress / unxz.h
blobf764e2a7201e35ce7d725254afdbb28c8664bab5
1 /*
2 * Wrapper for decompressing XZ-compressed kernel, initramfs, and initrd
4 * Author: Lasse Collin <lasse.collin@tukaani.org>
6 * This file has been put into the public domain.
7 * You can do whatever you want with this file.
8 */
10 #ifndef DECOMPRESS_UNXZ_H
11 #define DECOMPRESS_UNXZ_H
13 int 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,
17 void (*error)(char *x));
19 #endif