Nicholas Flintham | 1e3d311 | 2013-04-10 10:48:38 +0100 | [diff] [blame^] | 1 | #ifndef DECOMPRESS_GENERIC_H |
2 | #define DECOMPRESS_GENERIC_H | ||||
3 | |||||
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)); | ||||
10 | |||||
11 | |||||
12 | |||||
13 | decompress_fn decompress_method(const unsigned char *inbuf, int len, | ||||
14 | const char **name); | ||||
15 | |||||
16 | #endif |