diff options
author | Jean-Jacques Hiblot <jjhiblot@ti.com> | 2017-09-15 12:57:29 +0200 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2017-10-05 21:31:04 -0400 |
commit | 376ddf9d4a21d0af4c70e97c52e5f0854fb2d696 (patch) | |
tree | 9a1e4561873e07703f0676bb36708719b4b844e9 /include/common.h | |
parent | d753f942ec12e6b5b2db73698aa6c55588053d3a (diff) | |
download | u-boot-376ddf9d4a21d0af4c70e97c52e5f0854fb2d696.tar.gz u-boot-376ddf9d4a21d0af4c70e97c52e5f0854fb2d696.tar.bz2 u-boot-376ddf9d4a21d0af4c70e97c52e5f0854fb2d696.zip |
gzip: add a function to parse the header
Signed-off-by: Jean-Jacques Hiblot <jjhiblot@ti.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'include/common.h')
-rw-r--r-- | include/common.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/common.h b/include/common.h index 1896335584..4b521e142a 100644 --- a/include/common.h +++ b/include/common.h @@ -609,6 +609,7 @@ ulong usec2ticks (unsigned long usec); ulong ticks2usec (unsigned long ticks); /* lib/gunzip.c */ +int gzip_parse_header(const unsigned char *src, unsigned long len); int gunzip(void *, int, unsigned char *, unsigned long *); int zunzip(void *dst, int dstlen, unsigned char *src, unsigned long *lenp, int stoponerr, int offset); |