1*4882a593Smuzhiyun /* 2*4882a593Smuzhiyun * This file is derived from various .h and .c files from the zlib-1.2.3 3*4882a593Smuzhiyun * distribution by Jean-loup Gailly and Mark Adler, with some additions 4*4882a593Smuzhiyun * by Paul Mackerras to aid in implementing Deflate compression and 5*4882a593Smuzhiyun * decompression for PPP packets. See zlib.h for conditions of 6*4882a593Smuzhiyun * distribution and use. 7*4882a593Smuzhiyun * 8*4882a593Smuzhiyun * Changes that have been made include: 9*4882a593Smuzhiyun * - changed functions not used outside this file to "local" 10*4882a593Smuzhiyun * - added minCompression parameter to deflateInit2 11*4882a593Smuzhiyun * - added Z_PACKET_FLUSH (see zlib.h for details) 12*4882a593Smuzhiyun * - added inflateIncomp 13*4882a593Smuzhiyun */ 14*4882a593Smuzhiyun 15*4882a593Smuzhiyun #include <common.h> 16*4882a593Smuzhiyun 17*4882a593Smuzhiyun #ifdef CONFIG_GZIP_COMPRESSED 18*4882a593Smuzhiyun #define NO_DUMMY_DECL 19*4882a593Smuzhiyun #include "deflate.c" 20*4882a593Smuzhiyun #include "trees.c" 21*4882a593Smuzhiyun #endif 22*4882a593Smuzhiyun 23*4882a593Smuzhiyun #include "zutil.h" 24*4882a593Smuzhiyun #include "inftrees.h" 25*4882a593Smuzhiyun #include "inflate.h" 26*4882a593Smuzhiyun #include "inffast.h" 27*4882a593Smuzhiyun #include "inffixed.h" 28*4882a593Smuzhiyun #include "inffast.c" 29*4882a593Smuzhiyun #include "inftrees.c" 30*4882a593Smuzhiyun #include "inflate.c" 31*4882a593Smuzhiyun #include "zutil.c" 32*4882a593Smuzhiyun #include "adler32.c" 33