RT-AC56 3.0.0.4.374.37 core
[tomato.git] / release / src-rt-6.x.4708 / linux / linux-2.6.36 / include / linux / decompress / generic.h
blob56b8eb0d87b1d1564cbaefc1bdc5ee1942760245
1 #ifndef DECOMPRESS_GENERIC_H
2 #define DECOMPRESS_GENERIC_H
4 typedef int (*decompress_fn) (unsigned char *inbuf, int len,
5 int(*fill)(void*, unsigned int),
6 int(*flush)(void*, unsigned int),
7 unsigned char *outbuf,
8 int *posp,
9 void(*error)(char *x));
13 /* Utility routine to detect the decompression method */
14 decompress_fn decompress_method(const unsigned char *inbuf, int len,
15 const char **name);
17 #endif