5930f100aa
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 <s.hauer@pengutronix.de>
11 lines
258 B
C
11 lines
258 B
C
#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
|