blob: 493fe19eda6f8a07ecb75a8522de00c78531b95e [file] [log] [blame]
Mike Frysingere89516f2011-04-08 12:23:30 +00001/*
2 * This file is derived from various .h and .c files from the zlib-1.2.3
3 * distribution by Jean-loup Gailly and Mark Adler, with some additions
4 * by Paul Mackerras to aid in implementing Deflate compression and
5 * decompression for PPP packets. See zlib.h for conditions of
6 * distribution and use.
7 *
8 * Changes that have been made include:
9 * - changed functions not used outside this file to "local"
10 * - added minCompression parameter to deflateInit2
11 * - added Z_PACKET_FLUSH (see zlib.h for details)
12 * - added inflateIncomp
13 */
14
Simon Glass401d1c42020-10-30 21:38:53 -060015#include <compiler.h>
Lei Wen7a32b982012-09-28 04:26:44 +000016
17#ifdef CONFIG_GZIP_COMPRESSED
18#define NO_DUMMY_DECL
19#include "deflate.c"
20#include "trees.c"
21#endif
22
Mike Frysingere89516f2011-04-08 12:23:30 +000023#include "zutil.h"
24#include "inftrees.h"
25#include "inflate.h"
26#include "inffast.h"
27#include "inffixed.h"
28#include "inffast.c"
29#include "inftrees.c"
30#include "inflate.c"
31#include "zutil.c"
32#include "adler32.c"
Joao Marcos Costa81014f72020-07-30 15:33:49 +020033#if IS_ENABLED(CONFIG_ZLIB_UNCOMPRESS)
34#include "uncompr.c"
35#endif