summaryrefslogtreecommitdiffstats
path: root/include/linux/decompress
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/decompress')
-rw-r--r--include/linux/decompress/generic.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/decompress/generic.h b/include/linux/decompress/generic.h
index f847f514f78..6dfb856327b 100644
--- a/include/linux/decompress/generic.h
+++ b/include/linux/decompress/generic.h
@@ -26,5 +26,8 @@ typedef int (*decompress_fn) (unsigned char *inbuf, int len,
*fill should be called (repeatedly...) to read data, at most IOBUF_SIZE
*/
+/* Utility routine to detect the decompression method */
+decompress_fn decompress_method(const unsigned char *inbuf, int len,
+ const char **name);
#endif