From 5930f100aac7cebd4e45d4ec6c16e1cf5b2a1274 Mon Sep 17 00:00:00 2001 From: Sascha Hauer Date: Mon, 28 Nov 2011 12:50:28 +0100 Subject: use kernel bunzip implementation The kernel uncompression functions have a unified API. Switch to the kernel implementation to unify the different uncompression APIs. As a bonus the kernel implementation is much smaller. Signed-off-by: Sascha Hauer --- include/bunzip2.h | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 include/bunzip2.h (limited to 'include/bunzip2.h') diff --git a/include/bunzip2.h b/include/bunzip2.h new file mode 100644 index 0000000000..115272137a --- /dev/null +++ b/include/bunzip2.h @@ -0,0 +1,10 @@ +#ifndef DECOMPRESS_BUNZIP2_H +#define DECOMPRESS_BUNZIP2_H + +int bunzip2(unsigned char *inbuf, int len, + int(*fill)(void*, unsigned int), + int(*flush)(void*, unsigned int), + unsigned char *output, + int *pos, + void(*error)(char *x)); +#endif -- cgit v1.2.3