Back to home page

OSCL-LXR

 
 

    


0001 /*
0002  * Wrapper for decompressing XZ-compressed kernel, initramfs, and initrd
0003  *
0004  * Author: Lasse Collin <lasse.collin@tukaani.org>
0005  *
0006  * This file has been put into the public domain.
0007  * You can do whatever you want with this file.
0008  */
0009 
0010 #ifndef DECOMPRESS_UNXZ_H
0011 #define DECOMPRESS_UNXZ_H
0012 
0013 int unxz(unsigned char *in, long in_size,
0014      long (*fill)(void *dest, unsigned long size),
0015      long (*flush)(void *src, unsigned long size),
0016      unsigned char *out, long *in_used,
0017      void (*error)(char *x));
0018 
0019 #endif