From 392e8802486cb573b916e746010e141a75f507e6 Mon Sep 17 00:00:00 2001 From: Kevin Date: Sat, 15 Nov 2014 09:58:27 +0800 Subject: init android origin source code --- ANDROID_3.4.5/include/linux/decompress/unxz.h | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 ANDROID_3.4.5/include/linux/decompress/unxz.h (limited to 'ANDROID_3.4.5/include/linux/decompress/unxz.h') diff --git a/ANDROID_3.4.5/include/linux/decompress/unxz.h b/ANDROID_3.4.5/include/linux/decompress/unxz.h new file mode 100644 index 00000000..41728fc6 --- /dev/null +++ b/ANDROID_3.4.5/include/linux/decompress/unxz.h @@ -0,0 +1,19 @@ +/* + * Wrapper for decompressing XZ-compressed kernel, initramfs, and initrd + * + * Author: Lasse Collin + * + * This file has been put into the public domain. + * You can do whatever you want with this file. + */ + +#ifndef DECOMPRESS_UNXZ_H +#define DECOMPRESS_UNXZ_H + +int unxz(unsigned char *in, int in_size, + int (*fill)(void *dest, unsigned int size), + int (*flush)(void *src, unsigned int size), + unsigned char *out, int *in_used, + void (*error)(char *x)); + +#endif -- cgit