Mike Frysinger | e89516f | 2011-04-08 12:23:30 +0000 | [diff] [blame] | 1 | /* |
| 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 Glass | 401d1c4 | 2020-10-30 21:38:53 -0600 | [diff] [blame] | 15 | #include <compiler.h> |
Lei Wen | 7a32b98 | 2012-09-28 04:26:44 +0000 | [diff] [blame] | 16 | |
| 17 | #ifdef CONFIG_GZIP_COMPRESSED |
| 18 | #define NO_DUMMY_DECL |
| 19 | #include "deflate.c" |
| 20 | #include "trees.c" |
| 21 | #endif |
| 22 | |
Mike Frysinger | e89516f | 2011-04-08 12:23:30 +0000 | [diff] [blame] | 23 | #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 Costa | 81014f7 | 2020-07-30 15:33:49 +0200 | [diff] [blame] | 33 | #if IS_ENABLED(CONFIG_ZLIB_UNCOMPRESS) |
| 34 | #include "uncompr.c" |
| 35 | #endif |