1
0
mirror of https://xff.cz/git/u-boot/ synced 2025-09-01 16:52:14 +02:00

lib: add gzip lib function callback

Signed-off-by: Lei Wen <leiwen@marvell.com>
This commit is contained in:
Lei Wen
2012-09-28 04:26:46 +00:00
committed by Tom Rini
parent 869c2abbaf
commit 88d52c6aff
3 changed files with 150 additions and 0 deletions

View File

@@ -829,6 +829,13 @@ void fputc(int file, const char c);
int ftstc(int file);
int fgetc(int file);
/* lib/gzip.c */
int gzip(void *dst, unsigned long *lenp,
unsigned char *src, unsigned long srclen);
int zzip(void *dst, unsigned long *lenp, unsigned char *src,
unsigned long srclen, int stoponerr,
int (*func)(unsigned long, unsigned long));
/* lib/net_utils.c */
#include <net.h>
static inline IPaddr_t getenv_IPaddr(char *var)